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.

質問済み 2年前334ビュー
3回答
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

回答済み 2年前
  • 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
回答済み 2年前
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
回答済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ