You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Featured as community example for Serverless framework at serverless/examples
Use-Cases
Storing images in S3 Bucket with label information. AWS Rekognition is used for detecting labels in image. You can later query the API endpoint provided by this serverless service to get the list of images which belongs to particular label.
On deploying, this provisions 2 Lambda functions in your AWS setup. One Lambda function is responsible to store the image labels on each successful PUT operation in specified S3 bucket. The other Lambda function is used to retrieve the images of a particular label.
Usage
This project uses serverless framework. So, make sure you get that first and give the necessary permissions to serverless cli. Follow this page for getting started.
Before sls deploy, make sure you have setup these resources in AWS.
After deployment is successful, you can check the setup details using sls info . Now, you can test the services by uploading an image on S3. This would label the image and store the details in DyanamoDB. You can later query the endpoint for getting images associated to the label.