# Annotate Image

> `UiPath.GoogleVision.Activities.AnnotateImage`

`UiPath.GoogleVision.Activities.AnnotateImage`

Implements a generic **Google Annotate** call that performs image analysis on selected features and returns the result in a JSON string.

## Properties

### Common

* **ContinueOnError** - If set, the remaining activities are executed if the current activity fails.
* **DisplayName** - The display name of the activity.

### Input

* **AnalysisType** - The features for the annotate call. The features describe the type of image analysis. More than one type of image analysis may be done at the same time. The following options are available:
  + **FaceDetection** - Returns a `faceAnnotation` JSON response that includes the identified faces positional and sentiment information. For more information, see [Detecting faces](https://cloud.google.com/vision/docs/detecting-faces) in the Google Cloud documentation.
  + **LandmarkDetection** - Returns a `landmarkAnnotations` JSON response that includes the image landmarks and their geographical position. For more information, see [Detecting landmarks](https://cloud.google.com/vision/docs/detecting-landmarks) in the Google Cloud documentation.
  + **LogoDetection** - Returns a `logoAnnotations` JSON response that includes the identified company logos. For more information, see [Detecting logos](https://cloud.google.com/vision/docs/detecting-logos) in the Google Cloud documentation.
  + **LabelDetection** - Returns a `logoAnnotations` JSON response that includes the identified generated labels. For more information, see [Detecting labels](https://cloud.google.com/vision/docs/detecting-labels) in the Google Cloud documentation.
  + **TextDetection** - Returns a `TextAnnotation` JSON response that that includes the identified text description and position. For more information, see [Detecting text](https://cloud.google.com/vision/docs/detecting-text) in the Google Cloud documentation.
  + **SafeSearchDetection** - Returns a `safeSearchAnnotation` JSON response that specifies whether the image has adult, medical, or violent content. For more information, see [Detecting safe search](https://cloud.google.com/vision/docs/detecting-safe-search) in the Google Cloud documentation.
  + **WebDetection** - Returns a `webDetection` JSON response that describes similar images on the web. For more information, see [Detecting web](https://cloud.google.com/vision/docs/detecting-web) in the Google Cloud documentation.
  + **ImageProperties** - Returns an `imagePropertiesAnnotation` JSON response that describes image properties (e.g., dominant colors). For more information, see [Detecting properties](https://cloud.google.com/vision/docs/detecting-properties) in the Google Cloud documentation.
  + **CropHints** - Returns a `cropHintsAnnotation` JSON response that describes the most relevant region of the image. For more information, see [Detecting crop hints](https://cloud.google.com/vision/docs/detecting-crop-hints) in the Google Cloud documentation.
* **Image Path** - The path to the local image to analyze. The field is mutually exclusive with **Image URL** and supports only Strings and String variables.
* **Image URL** - The URL to the remote image to analyze. The field is mutually exclusive with **Image Path** and supports only Strings and String variables.
* **MaxNumberOfResults** - The maximum number of results per analysis type. This field supports only integers and `Int32` variables.

### Misc

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

### Output

* **Result** - A JSON string response that includes results of all features specified in the **AnalysisType** property. To get the results, the JSON string must be parsed.
  + For more information, see [Method: images.annotate](https://cloud.google.com/vision/docs/reference/rest/v1/images/annotate) in the Google Cloud documentation.
