Rekognition.indexFaces faceId usage

0

Hello,

The question is about the usage of the faceId returned by the method Rekognition.indexFaces(facesRequest) . Is there possible this use-case:

  • call Rekognition.indexFaces with picture1 that contains 1 face
  • Rekognition.indexFaces returns response1 with 1 faceId
  • call Rekognition.indexFaces with picture2 that contains 5 faces including face from picture1
  • Rekognition.indexFaces returns response2 with 5 faceId; Will these 5 faceIds contain the faceId from picture1 ?

Does a face have the same faceId in different Rekognition.indexFaces calls (It seamed to me that it is not like that) ?

For Rekognition.searchFaces method that looks in same collection, the apidocs says:

For a given input face ID, searches for matching faces in the collection the face belongs to. You get a face ID when you add a face to the collection using the IndexFaces operation. The operation compares the features of the input face with faces in the specified collection.

Does this means that the ids are not matched directly, but using the face features (while the id is used only to reference a previous uploaded face) ?

For Rekognition.searchFaces in the response, about the field result.getFaceMatches().getFace().getFaceId() the apidoc says:

Unique identifier that Amazon Rekognition assigns to the face.

So, in a collection, is the id of one face unique or not ?

Thank you,
Mihai

質問済み 8ヶ月前151ビュー
1回答
0

Rekognition.indexFaces returns response2 with 5 faceId; Will these 5 faceIds contain the faceId from picture1 ? => No, all 5 faceIds would be new and unique. Combine with 1 faceId from response1, you would have 6 faceIds
So, in a collection, is the id of one face unique or not ? => In a collection, faceIds are unique. When someone index a face into a collection successfully, the indexFace response contains faceId assigned by the service.

回答済み 5ヶ月前

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

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

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

関連するコンテンツ