capabilities.work

Reuse or Create Collection then Enroll

A 3-step recipe with Amazon Rekognition. We can help you get access.

Recipe · 3 steps

Reuse or Create Collection then Enroll

Reuse an existing collection or create it, then index an enrollment image.

  1. List the collection ids that already exist in the account.
  2. Create the collection because it was not found in the listing.
  3. Index the enrollment image faces into the reused or newly created collection.
What you'll need to have ready
  • collectionId: ID of the collection to reuse or create.
  • enrollBucket: S3 bucket holding the enrollment image.
  • enrollName: S3 object key of the enrollment image to index.
  • externalImageId: External identifier to assign to the indexed faces.
For your developer

Arazzo workflow amazon-rekognition:reuse-or-create-collection-enroll, 3 operations: ListCollections → CreateCollection → IndexFaces. Specs on APIs.io.