Search

Analyze Local Image

Last Updated: Mar 15, 2021

Articles

Use this function to fetch the image caption and tags of the local image.

Syntax

Analyze Local Image (subscription_key, service_url, image_location)

Parameters

Input Parameter Name Description
subscription_key Azure cognitive service computer vision subscription key
service_url Computer vision endpoint
image_location Local image URL

To know more about subscription_key and service_url, click here.

Returns

Return Value Description
Output
  • On Success returns 1 | Image-Caption, Tags
  • On Failure returns 0 | Error Message

Sample

Analyze Local Image (123456abcs, https: //jiffyai.azure, C:\Invoice.jpg)

  • Uses the subscription_key 123456abcs to connect to the service https: //jiffyai.azure, analyzes the local image from C:\Invoice.jpg.
    Returns the Image-Caption, Tags of the image.

To view all the MSVision functions, click here.

Did you find what you were looking for?