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
with Amazon Rekognition
Reuse an existing collection or create it, then index an enrollment image.
- List the collection ids that already exist in the account.
- Create the collection because it was not found in the listing.
- 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.