capabilities.work

Detect then Compare Faces

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

Recipe · 2 steps

Detect then Compare Faces

Detect a source face then compare it against a target image.

  1. Confirm a face is present in the source image before comparing.
  2. Compare the source face against every face detected in the target image.
What you'll need to have ready
  • sourceBucket: S3 bucket holding the source image.
  • sourceName: S3 object key of the source image.
  • targetBucket: S3 bucket holding the target image.
  • targetName: S3 object key of the target image.
  • similarityThreshold: Minimum similarity for a match to be returned.
For your developer

Arazzo workflow amazon-rekognition:detect-then-compare-faces, 2 operations: DetectFaces → CompareFaces. Specs on APIs.io.