Activities
latest
false
Classic Integrations Activities
Last updated Jul 17, 2024

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. Add the Microsoft Vision Scope activity to your project.
  2. Add the Analyze Image activity inside the Microsoft Vision Scope activity.
  3. Create and enter variables for the Intput properties.
  4. 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.
    • For a full list of categories, see Category taxonomy in the Azure documentation.
    • For more information about categories, see Concept categorizing images in the Microsoft Azure documentation.

      • Color - Retrieves dominant colors from the image.
    • For more information, see Concept detecting color schemes in the Microsoft Azure documentation.

      • Description - Generates a description of the image.
    • For more information, see Concept describing images in the Microsoft Azure documentation.

      • Faces - Identifies faces in the image and guesses the gender and age for the identified people.
    • For more information see Concept detecting faces in the Microsoft Azure documentation.

      • ImageType - Identifies whether an image is clip art (rating the likelihood on a scale) or line drawing.
    • For more information, see Concept detecting image types in the Microsoft Azure documentation.

      • Tags - Assigns tags to the image based on identified objects in the image.
    • For more information, see Concept tagging images in the Microsoft Azure documentation.
Output
  • Result - The result of the call based on the selected analysis features. Enter a ImageAnalysis variable.
  • How it works
  • Properties

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.