Automate Image Labeling with Amazon Rekognition

Lab Steps

lock
Logging in to the Amazon Web Services Console
lock
Object Detection Context and Limitations
lock
Creating an Amazon S3 Bucket
lock
Creating a New Lambda Function with an Amazon S3 trigger
lock
Implementing the Object Detection Logic
lock
Testing the Labelling System with New Images

The hands-on lab is part of these learning paths

Applying Machine Learning and AI Services on AWS
course-steps
5
certification
1
lab-steps
2

Ready for the real environment experience?

DifficultyBeginner
Time Limit1h
Students685
Ratings
4.3/5
starstarstarstarstar-half

Description

Amazon Rekognition allows you to detect objects and scene details from images. It provides a stateless and secure API that simply returns a list of related labels, with a certain confidence level.

In this Hands-On lab, you will build a serverless system that runs object detection when images are uploaded to an Amazon S3 bucket. You will use AWS Lambda for the processing logic and you will use Amazon DynamoDB to store the results of the label detection.

Learning Objectives

Upon completion of this beginner-level lab, you will be able to:

  • Create an Amazon S3 bucket
  • Create an AWS Lambda function
  • Configure an AWS Lambda function to trigger on an upload to Amazon S3
  • Implement image label detection using Amazon Rekognition and Python

Intended Audience

  • Cloud Engineers
  • Data Engineers

Prerequisites

Knowledge of the following will be beneficial but is not required:

  • Amazon S3
  • AWS Lambda
  • Amazon Rekognition
  • Python

The following courses can be used to fulfil the prerequisites:

Updates

January 22nd, 2021 - Updated AWS Lambda lab steps to reflect latest user interface updates

December 8th, 2020 - Updated all instructions and screenshots to address issues with the UI being outdated

February 21st, 2020 - Updated instructions to clarify the need to use the provided code and the detect labels API for the lab to function correctly

January 10th, 2019 - Added a validation Lab Step to check the work you perform in the Lab

About the Author
Students18826
Labs38
Courses1
Learning paths1

Andrew is a Labs Developer with previous experience in the Internet Service Provider, Audio Streaming, and CryptoCurrency industries. He has also been a DevOps Engineer and enjoys working with CI/CD and Kubernetes.

He holds the AWS Certified Developer - Associate and AWS Certified Sysops Administrator - Associate certifications.