Search

Generate Description

Last Updated: Mar 15, 2021

Articles

Use this function to generate a description of the remote image by analyzing the visual content of the image.

Syntax

Generate Description (subscription_key, service_url, image_url)

Parameters

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

To know more about subscription_key and service_url, click here.

Returns

Return Value Description
Output
  • On Success returns 1 | Description
  • On Failure returns 0 | Error Message

Sample

Generate Description (123456abcs, https: //jiffyai.azure, https://docs.jiffy.ai/image.png)

  • Uses the subscription_key 123456abcs to connect to the service https: //jiffyai.azure, fetches the description of the remote image https://docs.jiffy.ai/image.png.
    Returns A woman sitting at a table using a laptop, the description of the image.

To view all the MSVision functions, click here.

Did you find what you were looking for?