- When a user uploads a file an
ObjectCreatedevent is produced and a Lambda function is invoked.
- The Lambda function calls Amazon Rekognition to detect the faces and emotion of each face in the uploaded image.
- The Lambda function processes the image and persists the image in Amazon S3
Here’s an example set of results:
The code of the Lambda function that calls Amazon Rekognition and processes uploaded images is available on GitHub.