VisionVision activity is used to perform AI based image analysis. In this activity, you can process the images and retrieve information from images, such as, payee in the cheque, amount in the cheque, with the help of the cognitive vision API. Using Vision Activity1. In the Canvas Tools pane, click Process Components to expand and view the associated activities. 2. Drag the Application activity and drop on to the Flowchart designer area on the Canvas.
3. In the Application Type list, select CognitiveApps. 4. In the Select An Application list, select the application. 5. Double-click the Application activity to add Vision activity as cognitive activities works inside the application activity.
6. In the Canvas Tools pane, click Cognitive Services to expand the tool and view the associated activities. 7. Drag the Vision activity and drop on to the Flowchart designer area on the Canvas.
8. In the Provider list, select the Provider name. By default, Provider is set to Google.
Automation Studio supports two service providers for cognitive vision API. · Microsoft 9. In the Service list, select the service which you want to use for cognitive vision API.
Based on your selection of provider, service list reflects the supported APIs. If you have selected Google as your provider, following API services will reflect in the service list: · Analyze Image: This API extracts a rich set of visual features based on the image content. You can analyze APIs, such as, categories detection, label detention, face detection, SafeSearch detection, by selecting an appropriate visual feature in the configuration window.
If you have selected Microsoft as your provider, following API services will reflect in the service list: · Analyze Image: This API extracts a rich set of visual features based on the image content. You can analyze APIs, such as, categories detection, label detention, face detection, SafeSearch detection, by selecting an appropriate visual feature in the configuration window. · OCR: Optical Character Recognition (OCR) detects text in an image and extracts the recognized characters into a machine usable character stream. · Tag Image: The API generates a list of words, or tags, that are relevant to the content of the provided image. 10. Click
the
a. API URL: Provide API URL based on the provider and service selected by you in the Vision activity. b. File Path: Provide image path for analyzing the image. This is an input for your API. You can provide image path by creating argument in the Arguments pane, and then select the created argument in the File Path list. c. Text Language: This is an optional parameter and applicable for OCR and text detection visual features. You can keep it blank for auto detect. You can define text in following format, such as, en-US. bdepicts English and US depicts United States. As a whole, OCR detects US English. d. Output: Provide the JSON file to store the output. This is an output of your API. You can provide the JSON file for output by creating argument in the Argument pane and then select the created argument in the Output list. e. Visual Feature: Select the visual feature from the list, such as, categories, Adult, Color. This list contains the visual features API list. Appears if Service selected is Analyze Image. The above mentioned parameters may vary as per your selection. 11. Click Close to confirm your changes. Vision PropertiesThe properties of Vision activity are listed in the following table and can be edited in the Properties grid on the right pane.
See AlsoRefer the below links to learn more about the supported languages in vision activity, Google: https://cloud.google.com/vision/docs/reference/rest/v1/images/annotate Google Vision API: https://cloud.google.com/vision/docs/languages Microsoft Analyze Image API: https://westus.dev.cognitive.microsoft.com/docs/services/56f91f2d778daf23d8ec6739/operations/56f91f2e778daf14a499e1fa Microsoft OCR API: https://westus.dev.cognitive.microsoft.com/docs/services/56f91f2d778daf23d8ec6739/operations/56f91f2e778daf14a499e1fc |
On This Page Hide
Related Topics |
||||||||||||||||||||||||||||||||||