Search

Analyze Local Image

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

Returns

Return Value Description
Output
  • On Success: 1, Image-Caption, Tags
  • On Failure: 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?