Image Categorization

Use this step to fetch the image category, name and score details using Azure ML.

Last published at: March 27th, 2026

clsAzureMLGetCategories Step

Description:

This step retrieves an image's category name and score information using Azure ML.

 

Inputs

  • imageFilePath – file path to the image
  • varGlobalToStoreValue – Variable or global to hold the result
 

 

Returns

  • True – step executed successfully
  • False  – step failed to execute
 

 

 

Usage:

 

 

To use this step, you need to set up an Azure ML service in the FlowWright application. Go to the Status > Settings > Configuration page. Select the Azure ML category from the drop-down menu. Click here to learn more about the Azure ML and Cognitive Service subscription. 

A sample Azure ML configuration is provided here for reference. 

 

Example:

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

  • Create a new process definition named “clsAzureMLGetCategoriesDef” and open it in designer mode. 
  • Drag a "clsAzureMLgetCategories" step to the canvas.
  • Connect the dots between the “Start” and “clsAzureMLgetCategories” steps, as shown above. 
  • Define a variable or a global to store the result.
  • Click the "clsAzureMLgetCategories" step to configure its "Required" properties. Provide a name for the step, the image file path, and a variable or global reference to store the result. Then click the Save button. Note: Click the "AI Predict" button for the Copilot to add new process steps that match your process description. 

 

  • The “Logging” configuration is necessary for documentation and also measures workflow progress and 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 run it. Render the process instance. Click the process step to view its properties. The step should retrieve an image's category name and score details, and store the result in “variable.Result” as configured. 

 

Definition Sample:

You may download the sample definition(s) from the link provided and later import them (drag-and-drop) into your FlowWright Process Definition (XML file) or Form Definition (HTML file) page. 

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

Click here to download the sample file.