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.

posta un mese fa108 visualizzazioni
1 Risposta
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
ESPERTO
con risposta un mese fa
  • 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.

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande