How to correctly access Azure AI Vision Face Client SDK?

Valeria Margarita Espinoza Sanchez 20 Reputation points
2024-04-17T20:09:47.03+00:00

Hi, I'm trying to access the Azure AI Vision Face SDK to use Face ID in a project. I requested access from Microsoft to use the API and they granted it. I read the access instructions but when trying to use the code provided in the acceptance email to use the SDK, this error appears in PowerShell:

User's image

I've never used PowerShell before, so I don't really understand the commands. Also, I'm not sure if I should use Azure PowerShell within the Azure portal or Windows PowerShell. I hope someone can guide me so I can import the SDK correctly. Thank you so much!

Azure Computer Vision
Azure Computer Vision
An Azure artificial intelligence service that analyzes content in images and video.
404 questions
Azure Face
Azure Face
An Azure service that provides artificial intelligence algorithms that detect, recognize, and analyze human faces in images.
176 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Metamind systems 0 Reputation points
    2025-02-27T10:02:25.3033333+00:00

    Subject: Issue Installing Azure AI Vision Face UI Web SDK

    I’m trying to install the Azure AI Vision Face UI Web SDK in my web project (React.js), but I’m encountering an issue during installation.

    We went through the Azure AI Vision Face SDK documentation, tried to set up the environment, obtained face artifacts, created a project on Azure DevOps, set up a feed, and attempted to connect with the npm feed. We also created an .npmrc file in the project and added the registry URL in the file.

    Steps Followed:

    Went through the Azure AI Vision Face SDK documentation.

    Tried to set up the environment.

    Obtained face artifacts.

    Created a project on Azure DevOps.

    Set up a feed and attempted to connect with the npm feed.

    Created an .npmrc file in the project and added the registry URL in the file.

    However, when running the following command:

    npm install azure-ai-vision-face-ui@latest
    

    We received the following error:

    The package 'azure-ai-vision-face-ui' was not found in feed 'metafeed'.
    

    Expected Behavior:

    The SDK should install and integrate the face liveness detector.

    Additional Information:

    Feed name: metafeed

    **Links Referred:

    1. Azure AI Vision Face SDK Documentation:** https://learn.microsoft.com/en-us/azure/ai-services/computer-vision/tutorials/liveness?tabs=csharp%2Cmobile-kotlin

    2. Set up Environment: https://github.com/Azure-Samples/azure-ai-vision-sdk/blob/main/samples/web/SetupEnvironment.md

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.