Skip to content

Latest commit

 

History

History
23 lines (12 loc) · 870 Bytes

File metadata and controls

23 lines (12 loc) · 870 Bytes

rekognition-image-assessment

Sends image from s3 to Amazon Rekognition for Image Processing.

Based on and inspired by smart-security-camera.

Contents

  1. index.js - source code.

How to use

IAM Role

Using the AWS IAM Console create an IAM Role containing the "AmazonRekognitionReadOnlyAccess", "AmazonS3ReadOnlyAccess" and "AWSLambdaBasicExecutionRole" permissions.

Upload to AWS

Using the AWS Lambda Console, create a new Lambda Function called rekognition-image-assessment and copy the code from index.js directly into the inline code editor.

Ensure that the function uses your newly created IAM Role.

Tip: Use the "blank function" blueprint and skip the "configure triggers" prompt when creating the function.