List Faces
| rekognition_list_faces | R Documentation |
Returns metadata for faces in the specified collection¶
Description¶
Returns metadata for faces in the specified collection. This metadata includes information such as the bounding box coordinates, the confidence (that the bounding box contains a face), and face ID. For an example, see Listing Faces in a Collection in the Amazon Rekognition Developer Guide.
This operation requires permissions to perform the
rekognition:ListFaces action.
Usage¶
Arguments¶
CollectionId[required] ID of the collection from which to list the faces.
NextTokenIf the previous response was incomplete (because there is more data to retrieve), Amazon Rekognition returns a pagination token in the response. You can use this pagination token to retrieve the next set of faces.
MaxResultsMaximum number of faces to return.
UserIdAn array of user IDs to filter results with when listing faces in a collection.
FaceIdsAn array of face IDs to filter results with when listing faces in a collection.
Value¶
A list with the following syntax:
list(
Faces = list(
list(
FaceId = "string",
BoundingBox = list(
Width = 123.0,
Height = 123.0,
Left = 123.0,
Top = 123.0
),
ImageId = "string",
ExternalImageId = "string",
Confidence = 123.0,
IndexFacesModelVersion = "string",
UserId = "string"
)
),
NextToken = "string",
FaceModelVersion = "string"
)
Request syntax¶
svc$list_faces(
CollectionId = "string",
NextToken = "string",
MaxResults = 123,
UserId = "string",
FaceIds = list(
"string"
)
)