Building an Image Labeling Pipeline with Amazon Rekognition

Building an Image Labeling Pipeline with Amazon Rekognition
Building an Image Labeling Pipeline with Amazon Rekognition

CLOUD LABS



Building an Image Labeling Pipeline with Amazon Rekognition

In this Cloud Lab, you’ll learn to build a serverless image labeling pipeline using Lambda and Rekognition to process and label a set of images automatically.

8 Tasks

beginner

1hr 30m

Certificate of Completion

Desktop OnlyDevice is not compatible.
No Setup Required
Amazon Web Services

Learning Objectives

Basic understanding of how to build a serverless image labeling workflow
Hands-on experience configuring S3 event notifications and integrating them with an SQS queue
Working knowledge of building a Lambda function that integrates with SQS, Rekognition, and DynamoDB
The ability to store and query image label metadata using a DynamoDB table

Technologies
Rekognition
Lambda logoLambda
S3 logoS3
SQS logoSQS
DynamoDB logoDynamoDB
Cloud Lab Overview

Amazon Rekognition is a powerful, fully managed computer vision service that enables easy integration of image and video analysis into your applications. With Rekognition, you can automatically detect objects, people, text, scenes, and activities using machine learning models without needing to build or train your own. When paired with services like Amazon S3, Amazon SQS, and AWS Lambda, you can create a scalable, event-driven image-processing pipeline with minimal operational overhead.

In this Cloud Lab, you will build an automated image labeling pipeline using Amazon Rekognition and key AWS serverless services. You’ll begin by creating a DynamoDB table and an Amazon S3 bucket. The bucket will act as your image store. Then, you’ll set up an Amazon SQS queue to capture notifications whenever new images are uploaded. Next, you’ll create an AWS Lambda function that is triggered through the queue, processes incoming image messages, and uses Amazon Rekognition to detect labels within each image. The Lambda function will then store the extracted labels and related metadata in an Amazon DynamoDB table for fast and scalable retrieval.

Below is the high-level architecture diagram of the infrastructure you’ll create in this Cloud Lab:

Image labeling pipeline using Rekognition
Image labeling pipeline using Rekognition
Cloud Lab Tasks
1.Introduction
Getting Started
2.Resource Configuration
Configure a DynamoDB Table
Create an S3 bucket
Create an SQS Queue
Configure a Lambda Function
3.Verify the Labeling
Query the DynamoDB Table
4.Conclusion
Clean Up
Wrap Up
Labs Rules Apply
Stay within resource usage requirements.
Do not engage in cryptocurrency mining.
Do not engage in or encourage activity that is illegal.

Relevant Course

Use the following content to review prerequisites or explore specific concepts in detail.

Hear what others have to say
Join 1.4 million developers working at companies like