Rekognition search faces API endpoint

0

Hi everyone!

Currently, I've accomplished detecting all the faces from a collection and then generating sub-galleries of each subject with all their photos associated with the ruby SDK '~> 1.65'

To do this, I've indexed the faces of all photos within a collection, list all the faces (https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Rekognition/Client.html#list_faces-instance_method), then grabbing each face_id recognized and search the faces related to that face_id (https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Rekognition/Client.html#search_faces-instance_method), and delete the face id used to do the API call and all the returned ones to tell when a new detected subject starts and ends.

My issue is that the search faces API returns different results depending on which face id param you are doing the request with. For example, if there are 10 faces ids detected that belong to a person (1, 2, 3, ..., 10), the search faces call with face id = 1 param, should return the faces id (2, 3, 4, ..., 10) but if you continue to do this with the other face ids this is not always the case with some scenarios where the search faces call with face id = 3 has returned a subset of the previously mentioned like just (4, 5, 6).

Is there any other way to achieve this to prevent this kind of "error"? if not, this is a real concern for us because it depends on the order in which we call the search faces with different face ids, and sometimes it seems like there is more than 1 subject detected with almost the same photos when in reality it's the same person.

Thanks in advance!

  • Hi, Were you able to solve this problem as I'm running into the same issue. TIA.

preguntada hace 2 años334 visualizaciones
3 Respuestas
0

Hi, thanks for your reply!

All the mentioned above happened with the matching threshold set to 90%, but even after I've changed it to 95% it keeps behaving the same way

respondido hace 2 años
  • Also no change when the threshold is under 80% ? Perhaps the similarity between some faces is under the default threshold

0

Hello, did you notice any correlation with the face matching threshold ? By default it's 80%

https://docs.aws.amazon.com/rekognition/latest/APIReference/API_SearchFaces.html

AWS
respondido hace 2 años
0

Hi, we are happy to work with you to investigate this issue. Can you open a case using this link and share the case ID here. We can then engage directly to troubleshoot.

AWS
respondido hace 2 años

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