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

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南