Search

Detect Face

Last Updated: Nov 4, 2020

Articles

Use this function to fetch the details of the given face photo.

Syntax

Detect Face (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

Returns

Return Value Description
Output
  • On Success: 1, Gender, Age
  • On Failure: 0, Error Message

Sample

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

  • Uses the subscription_key ‘123456abcs’ to connect to the service ‘https: //jiffyai.azure’, analyzes the face in the image ‘https: //docs.jiffy.ai/image.png’.
    Returns the ‘Gender, Age’ of the face in the image.

To view all the MSVision functions, click here.

Did you find what you were looking for?