How to validate if the user exists in my collection, in order to associate future photos of the user to userId

0

Hi,

In my application, I'm first indexing the uploaded image, then from the detected faces from the image, I want to check if the face belongs to any existing user or not? If it belongs, I want to associate the faceId to that particular userId. else, will create a new userId and associate faces.

[Next steps though not required, but posting if you can guide me an efficient approach if there is any] And write the indexed imageId and it's source s3_url to a dynamodb so that, I can retrieve these photos by querying with a photo with help of searchfacesbyimage api. and retrieve to the frontend.

  1. How to validate if the user exists in the collection?

or

  1. Is there's an efficient approach?

Thanks in advance.

asked a month ago92 views
1 Answer
0

As long as you use same approach to map an image to a Face ID, like the compare face api from aws recognition https://docs.aws.amazon.com/rekognition/latest/dg/faces-comparefaces.html then you can see how similar they are.

Alternative could be to use genAI models from bedrock

profile picture
EXPERT
answered 25 days ago
  • Great!

    Thanks for taking time and responding. Will check these.

  • I actually used Search Users (input parameters can be faceId/userId). this solved the issue.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions