Subscribe

UiPath Activities

The UiPath Activities Guide

Analyze Image

UiPath.MicrosoftVision.Activities.AnalyzeImage

The Analyze Image activity uses the Microsoft Vision API to make a generic image call.

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. Complete the Setup steps.
  2. Add the Microsoft Vision Scope ]activity to your project.
  3. Add the Analyze Image activity inside the Microsoft Vision Scope activity.
  4. Create and enter variables for the Intput properties.
  5. Create and enter variables for the Output 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.
  • Selected Features - A combo box that defines the type of analysis to carry out on the image. The available options are: Adult, Categories, Color, Description, Faces, ImageType, Tags

📘

Note

The allowed values are defined as:

  • Adult - Identifies adult or racy content. For more information on the call, see Concept detecting adult content in the Microsoft Azure documentation.
  • Categories - Categorizes the image based on a predefined taxonomy.
  • Color - Retrieves dominant colors from the image.
  • Description - Generates a description of the image.
  • Faces - Identifies faces in the image and guesses the gender and age for the identified people.
  • ImageType - Identifies whether an image is clip art (rating the likelihood on a scale) or line drawing.
  • Tags - Assigns tags to the image based on identified objects in the image.

Output

  • Result - The result of the call based on the selected analysis features. Enter a ImageAnalysis variable.

Updated 2 months ago


Analyze Image


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.