# Generate Description

> `UiPath.MicrosoftVision.Activities.GenerateDescription`

`UiPath.MicrosoftVision.Activities.GenerateDescription`

The **Generate Description** activity uses the Microsoft Vision [API](https://westcentralus.dev.cognitive.microsoft.com/docs/services/computer-vision-v3-1-ga/operations/56f91f2e778daf14a499f21f) to describe, in human-readable language, what is seen in an image.

## How it works

The following steps are an example of how the activity works from design time (i.e., the activity dependencies and input/output properties) to run time.

1. Add the [Microsoft Vision Scope](https://docs.uipath.com/activities/other/latest/legacy-integrations/microsoft-vision-scope) activity to your project.
2. Add the **Generate Description** activity inside the **Microsoft Vision Scope** activity.
3. Create and enter variables for the [Intput](https://docs.uipath.com/activities/other/latest/legacy-integrations/microsoft-vision-generate-description#generate-description) properties.
4. Create and enter variables for the [Output](https://docs.uipath.com/activities/other/latest/legacy-integrations/microsoft-vision-generate-description#generate-description) property.

## Properties

### Common

* **Continue On Error** - This field only supports boolean values (True, False). The default value in this field is False. As a result, if this field is blank and an error is thrown, the execution of the project stops. If the value is set to True, the execution of the project continues regardless of any error.
* **DisplayName** - The display name of the activity. This field supports only `Strings` or `String` variables.

### Input

* **Image Path** - The path to a local image to be analyzed. This field supports only `Strings` or `String` variables. If Image URL is provided, this field is ignored.
* **Image URL** - The URL of an image to be analyzed. This field supports only `Strings` or `String` variables. If Image Path is provided, this field is ignored.

### Misc

* **Private** - If selected, the values of variables and arguments are no longer logged at Verbose level.

### Options

* **Result Language** - A selection that specifies the language in which the result is shown. Choose one of the following options: en, ja, pt, zh.

### Output

* **Result** - The generated result. Enter a `ImageDescriptionDetails` variable.
