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 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则