Detecting Text in an Image Using Amazon Rekognition

Detecting Text in an Image Using Amazon Rekognition
Detecting Text in an Image Using Amazon Rekognition

CLOUD LABS



Detecting Text in an Image Using Amazon Rekognition

In this Cloud Lab, you’ll learn to extract text from an image using the AWS image recognition service—Rekognition. You’ll deploy a Lambda function that triggers by uploading an image to the S3 bucket and stores the results retrieved from Rekognition in the S3 bucket.

9 Tasks

beginner

1hr 30m

Certificate of Completion

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

Learning Objectives

Working knowledge of managing S3 bucket in AWS
An understanding of AWS Lambda functions and triggers
Hands-on experience in deploying AWS Lambda and triggering it with file uploading
The ability to use AWS Rekognition to detect text inside an image

Technologies
Lambda logoLambda
Rekognition
S3 logoS3
Cloud Lab Overview

AWS Image Rekognition is an advanced image analysis service that uses machine learning to identify faces, scenes, and objects in images and videos. In this Cloud Lab, you’ll learn to use AWS S3 bucket, Lambda function, Lambda function trigger, and Rekognition to automate image analysis tasks. Understanding this technology is essential for any developer who wants to automate image analysis tasks and increase the efficiency of their work.

This Cloud Lab will cover the following tasks in sequential order—you’ll learn to create an S3 bucket, configure a Lambda function, set up a Lambda function trigger, and integrate Rekognition to analyze images. You’ll also learn to implement the analysis of images and recognize text. After this, you’ll learn to perform an action based on the analysis, such as sending an alert or storing the results in a database.

After completing this Cloud Lab, you’ll be able to automate tasks, such as monitoring security cameras, analyzing product images for e-commerce, or detecting inappropriate content in user-generated images. This knowledge of cloud services and automation will advance your career as a developer and help in the efficiency and productivity of your work.

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

Architecture diagram
Architecture diagram
Cloud Lab Tasks
1.Introduction
Getting Started
2.Set Up S3 Bucket
Create an S3 Bucket
3.Lambda and Role Creation
Create an Execution Role
Create a Lambda Function
Update Lambda Function Code
4.Set Up and Invoke the Trigger
Add an S3 Trigger
Test the Trigger
5.Conclusion
Cleanup
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 Courses

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