View source: R/rekognition_operations.R
rekognition_index_faces | R Documentation |
Detects faces in the input image and adds them to the specified collection.
See https://www.paws-r-sdk.com/docs/rekognition_index_faces/ for full documentation.
rekognition_index_faces(
CollectionId,
Image,
ExternalImageId = NULL,
DetectionAttributes = NULL,
MaxFaces = NULL,
QualityFilter = NULL
)
CollectionId |
[required] The ID of an existing collection to which you want to add the faces that are detected in the input images. |
Image |
[required] The input image as base64-encoded bytes or an S3 object. If you use the AWS CLI to call Amazon Rekognition operations, passing base64-encoded image bytes isn't supported. If you are using an AWS SDK to call Amazon Rekognition, you might not
need to base64-encode image bytes passed using the |
ExternalImageId |
The ID you want to assign to all the faces detected in the image. |
DetectionAttributes |
An array of facial attributes you want to be returned. A If you provide both, |
MaxFaces |
The maximum number of faces to index. The value of If The faces that are returned by
|
QualityFilter |
A filter that specifies a quality bar for how much filtering is done to
identify faces. Filtered faces aren't indexed. If you specify To use quality filtering, the collection you are using must be associated with version 3 of the face model or higher. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.