Annotate Image
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
faceAnnotationJSON response that includes the identified faces positional and sentiment information. For more information, see Detecting faces in the Google Cloud documentation. - LandmarkDetection - Returns a
landmarkAnnotationsJSON response that includes the image landmarks and their geographical position. For more information, see Detecting landmarks in the Google Cloud documentation. - LogoDetection - Returns a
logoAnnotationsJSON response that includes the identified company logos. For more information, see Detecting logos in the Google Cloud documentation. - LabelDetection - Returns a
logoAnnotationsJSON response that includes the identified generated labels. For more information, see Detecting labels in the Google Cloud documentation. - TextDetection - Returns a
TextAnnotationJSON response that that includes the identified text description and position. For more information, see Detecting text in the Google Cloud documentation. - SafeSearchDetection - Returns a
safeSearchAnnotationJSON response that specifies whether the image has adult, medical, or violent content. For more information, see Detecting safe search in the Google Cloud documentation. - WebDetection - Returns a
webDetectionJSON response that describes similar images on the web. For more information, see Detecting web in the Google Cloud documentation. - ImageProperties - Returns an
imagePropertiesAnnotationJSON response that describes image properties (e.g., dominant colors). For more information, see Detecting properties in the Google Cloud documentation. - CropHints - Returns a
cropHintsAnnotationJSON response that describes the most relevant region of the image. For more information, see Detecting crop hints in the Google Cloud documentation.
- FaceDetection - Returns a
- 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
Int32variables.
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 in the Google Cloud documentation.