跳至内容

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.

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。