Searching for faces and users within a collection
After you create a face collection and store face vectors and/or user vectors, you can search a face collection for face matches. With Amazon Rekognition, you can search for faces in a collection that match:
-
A supplied face ID (SearchFaces). For more information, see Searching for a face with a face ID.
-
The largest face in a supplied image (SearchFacesByImage). For more information, see Searching for a face with an image.
-
Faces in a stored video. For more information, see Searching stored videos for faces.
-
Faces in a streaming video. For more information, see Working with streaming video events.
You can use the CompareFaces
operation to compare a face in a source
image with faces in the target image. The scope of this comparison is limited to the
faces that are detected in the target image. For more information, see Comparing faces in images.
The various Search operations seen in the following list compare a face (identified
either by a FaceId
or an input image) with all faces stored in a given face
collection: