clsAzureMLDescribeImage step

Use this step to provide a description of an image as text using Azure ML services

Last published at: March 24th, 2025

Description:

This step describes an image as text using Azure ML services.

 

Inputs

  • imageFilePath – Image File Path
  • varGlobalToStoreValue – Variable / Global to store the description
 

 

Returns

  • true  – true condition
  • false – false condition
 

 

Usage:

 

 

Example:

Let’s build and execute the “clsAzureMLDescribeImageDef” example.

  • Create a new definition called “clsAzureMLDescribeImageDef”
  • Select the definition and click the “design” button
  • Drag the above steps to the canvas
  • Connect the dots between the Start and other steps as above
  • Define a variable/global to store the image file path and the description text
  • Click the “updateVariable” step to configure its “Required” properties. Provide a step name.

 

  • Click the “updateVariable” step to configure its “Optional” properties. Click the button to update multiple variables. A popup window is displayed for configuration. Click the Add Row button to insert an empty row. Provide a variable reference and the image file path on the application server as below. Click the Save button. You may insert multiple variables by using the Add Row button. 

 

  • Click the “clsAzureMLDescribeImage” step to configure its “Settings” properties. Provide a step name. Provide the variable/global reference with the image file path. Provide the variable/global reference to store the image description as text. 

 

  • An image used in this example is included here for reference. 

 

  • The “Logging” setting configuration is necessary for documentation and also measures the workflow progress and the percent complete. This is achieved by configuring the step state and percent fields individually, as shown in the images below. Configure the “Logging” using the following properties.

 

  • Save the process definition, create a new instance, and execute. Render the process instance. Click on the process step to view its properties. The step describes an image as text using Azure ML services. As per the image in this example, the description generated is “a street with cars and buildings.”

 

 

Definition Sample:

You may download the ZIP file and extract the sample definition(s) from the link here. Then, you can later import it (drag-drop) to your FlowWright Process Definition (XML file) or Form Definition (HTML file) page.

NOTE: Please verify and complete the process steps for any missing configurations, such as file path references and database connections after import. Then, save the definition to confirm the changes.

Click here to download the sample file.

 

 

 

 

 

 

 

How can we improve this article?

Share additional info and suggestions