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.

preguntada hace un mes104 visualizaciones
1 Respuesta
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
EXPERTO
respondido hace un mes
  • 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.

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas