跳至內容

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.

已提問 3 年前檢視次數 393 次

1 個回答
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

專家

已回答 3 年前

專家

已審閱 2 年前

  • 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.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。