Identity Verification Using Amazon Rekognition

Identity Verification Using Amazon Rekognition
Identity Verification Using Amazon Rekognition

CLOUD LABS



Identity Verification Using Amazon Rekognition

In this hands-on Cloud Lab, we'll use Amazon Rekognition to enable facial recognition in a Flask application.

9 Tasks

beginner

1hr 30m

Certificate of Completion

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

Learning Objectives

An understanding of using Amazon Rekognition to identity users
Hands-on experience working with AWS SDK for Python
Working knowledge of deploying a Flask Application in an EC2 Instance
Hands-on experience integrating API Gateway with EC2

Technologies
Rekognition
S3 logoS3
API Gateway logoAPI Gateway
EC2 logoEC2
Skills Covered
Using AWS Cloud Services
Cloud Deployment
Cloud Lab Overview

Amazon Rekognition is a computer vision service provided by Amazon that offers various machine learning models used in image and video analysis. It allows developers to easily integrate image and video analysis features in their applications, even if computer vision and machine learning are not their forte.

In this Cloud Lab, you'll create a facial recognition application in Flask. To achieve this goal, you'll first create an S3 bucket that'll be used to store a user's credentials. Next, you'll create a security group and launch an EC2 instance using that group. You'll then use the CompareFaces operation available in Amazon Rekognition to see how it compares two images and provides the similarity index between them.

Finally, you'll integrate Amazon Rekognition and S3 in a Flask application to enable facial recognition and then launch this application in an EC2 instance. You'll then create an API using API Gateway to access this application.

After completing this Cloud Lab, you'll have a strong understanding of Amazon Rekognition and will be able to integrate its services in a Flask application using Boto3. You'll also be able to create user identification systems, compare the images provided by users, and allow them to log in to your application if they meet a certain similarity threshold.

A high-level architecture diagram for this lab is given below.

Architecture diagram
Architecture diagram

Cloud Lab Tasks
1.Introduction
Getting Started
2.Create the Required Resources
Create an S3 Bucket
Create an EC2 Instance
3.Work with Amazon Rekognition
Image Analysis with Rekognition
Identity Verification Application
Launch the Application
4.Put it All Together!
Integrate API Gateway with EC2
5.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 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