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
AWS logoAWS
Rekognition
EC2 logoEC2
API Gateway logoAPI Gateway
S3 logoS3
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.

Trusted by 1.4 million developers working at companies including

Don’t take our word for it. See what our developers have to say.

Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.

Felipe Matheus
TestimonialsImg

I highly recommend Educative. The courses are well organized and easy to understand.

Adina Ong
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg
Don’t take our word for it. See what our developers have to say.

Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.

Felipe Matheus
TestimonialsImg

I highly recommend Educative. The courses are well organized and easy to understand.

Adina Ong
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg

Get access to Educative Cloud Labs

Course Footer Image
Course Footer Image