Skip to content

Latest commit

 

History

History
50 lines (36 loc) · 2.89 KB

GET_FACE_ARTIFACTS_ACCESS.md

File metadata and controls

50 lines (36 loc) · 2.89 KB

Accessing Azure AI Vision Face Client SDK Release Artifacts

Overview

This guide provides step-by-step instructions to access Face Client SDK release artifacts from Azure.

Prerequisites

  1. An Azure Subscription ID approved for Face Liveness Detection (complete the Face Recognition intake form).
  2. Azure account with Cognitive Services Contributor role with subscription-level scope, or equivalently, the following permissions with subscription-level scope:

Instructions

Install The Azure Command-Line Interface (CLI)

Install Azure Command-Line Interface (CLI) as per the documentation here.

Fetching Access Token

  1. Open your command-line tool (e.g., Terminal in Linux/MacOS, PowerShell in Windows).

  2. Run the following script:

    Parameters:

    • subscriptionId: Azure Subscription ID that has been registered for Face API Limited Access.

    For Linux/MacOS or Shell:

    ./scripts/get_face_access_token.sh #SUBSCRIPTION_ID#

    For Windows or PowerShell:

    ./scripts/get_face_access_token.ps1 -subscriptionId #SUBSCRIPTION_ID#

References

This endpoint is available for token generations and queries:

  1. Token Generation (POST)/ Query (GET) Endpoint (POST):

    https://face-sdk-gating-helper-2.azurewebsites.net/sdk/subscriptions/{subscriptionId}/tokens?id={tokenId}
    

Note: The GET endpoint lists all tokens if tokenId is not specified. Use POST to generate tokens if none exist.

Additional Resources

  • Use the token to get started with Android sample here.
  • Use the token to get started with iOS sample here.
  • Use the token to get started with Web sample here.