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

demandé il y a 8 mois151 vues
1 réponse
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.

répondu il y a 5 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions