Azure Cognitive Face API

Adedayo 21 Reputation points
2022-02-18T06:30:35.723+00:00

I am trying to use Azure cognitive Face API to verify two faces using Node Js.
One face is coming from the client side and the other face is coming from an external API.
Both images have been converted to a base64 string.
Is it possible to use Azure cognitive Face API to achieve this?

Azure Face
Azure Face
An Azure service that provides artificial intelligence algorithms that detect, recognize, and analyze human faces in images.
155 questions
{count} votes

Accepted answer
  1. romungi-MSFT 43,681 Reputation points Microsoft Employee
    2022-02-18T09:02:56.513+00:00

    @Adedayo Yes, this should be possible with the Face API using the JS SDK.

    In this case you need to use the Face API detect API first to detect a face in the stream or image which in turn returns a face id in the response which is valid for 24 hours. You would need to call the API for images from your client side and external API to get the face ids.

    Once the face ids are returned from detect you need to verify if the faces belongs to the same person. For this, you need to call the face verify API.

    There are also other options to create person groups that will basically store face ids until they are deleted and verification can be done against a person group to detect a face in the group.
    For a basic requirement to verify faces the above API's should help you get started. I hope this helps!!

    If an answer is helpful, please click on 130616-image.png or upvote 130671-image.png which might help other community members reading this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful