- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
Hi Rick,
Thanks for reaching out to Rekognition!
Based on the question description provided above, I assume the initial experiment was using SearchFacesByImage API.
- To answer the first part of the question of how does RekoG know which face of the five to go find
- For SearchFacesByImage API, Rekognition Service will detect the largest face in the image and then searches the specified collection for matching faces. Ref: https://docs.aws.amazon.com/rekognition/latest/APIReference/API_SearchFacesByImage.html
- Please note that we have a configurable quality filter and by altering the level, it may filter out some of the detected faces from the input image.
Now, given your use case, I would recommend to use SearchFaces. How this works is, since you had already indexed all 5 faces into your collection, you can search the same collection for matching faces given a faceId that's up to your choice. To find the faceIds of these 5 faces, one way is to trace from your previous IndexFaces response where each face detected and stored will be assigned a faceId by the service. Alternatively, you can also check them later by using ListFaces API with filtering your image id. Here is more info about SearchFaces in our API documentation: https://docs.aws.amazon.com/rekognition/latest/APIReference/API_SearchFaces.html.
Additional reference:
- IndexFaces: https://docs.aws.amazon.com/rekognition/latest/APIReference/API_IndexFaces.html
- ListFaces: https://docs.aws.amazon.com/rekognition/latest/APIReference/API_ListFaces.html
Hope this helps! And feel free to reach out again if there's any other question you might have!
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor einem Jahr
This is excellent, thank you for the detailed reply.