Face Collection

Create a collection in Amazon Rekognition

A Face Collection is a container in Amazon Rekognition to store indexed face images as searchable vectors.

Using the AWS Command Line Interface, create a collection in Amazon Rekognition called rider-photos

  1. In a terminal window, run the following command and replace the REPLACE_WITH_YOUR_CHOSEN_AWS_REGION portion with the region string of your chosen region. (see Rekognition regions)

    aws rekognition create-collection --collection-id rider-photos --region REPLACE_WITH_YOUR_CHOSEN_AWS_REGION
    

    For example, you should type one of the following:

    aws rekognition create-collection --collection-id rider-photos --region us-east-1 
    aws rekognition create-collection --collection-id rider-photos --region us-east-2
    aws rekognition create-collection --collection-id rider-photos --region us-west-2
    
  2. If successful, you should get an acknowledgment from the service that looks like:

    {
        "CollectionArn": "aws:rekognition:us-west-2:012345678912:collection/rider-photos",
        "StatusCode": 200
    }