Face Recognition Model and EC2 on AWS.

Face Recognition Model and EC2 on AWS.

Task Description.

❄️ Create a program that perform below mentioned task upon recognizing a particular face.

📌 When it recognize your face then —

👉 It send mail to your mail id.

👉 Second it send whatsapp message to your friend.

📌 When it recognize second face, it can be your friend or family members face.

👉 Creates EC2 instance in the AWS.

👉 Creates 5 GB EBS volume and attach it to the instance.

Computer Vision:

Computer vision is a field of artificial intelligence that trains computers to interpret and understand the visual world. Using digital images from cameras and videos and deep learning models, machines can accurately identify and classify objects — and then react to what they “see.”

Early experiments in computer vision took place in the 1950s, using some of the first neural networks to detect the edges of an object and to sort simple objects into categories like circles and squares. In the 1970s, the first commercial use of computer vision interpreted typed or handwritten text using optical character recognition. This advancement was used to interpret written text for the blind. 

No alt text provided for this image

Now lets run our code to complete this task.

Step-1: first step is to collect the dataset. Webcam will capture 200 images.

No alt text provided for this image

We are collecting our samples👆

It will show like this👇

No alt text provided for this image

It will capture 100 images of first face👇

No alt text provided for this image

Step-2: Training the dataset.

No alt text provided for this image

Step-3: Run the face recognition model to send the mail.

After training another model.

No alt text provided for this image

Collecting the samples of another image👇

No alt text provided for this image

Now we will send the email👇

No alt text provided for this image

On successfull face detection mail will be sent otherwise not.

No alt text provided for this image
👆The face will be detected and it will send the mail if it's the same object from the dataset 👆

For sending watsapp message we will write the code👇

No alt text provided for this image

Step-4: Create the EC2 Instance in AWS using CLI.

No alt text provided for this image

The Instance is👇

No alt text provided for this image












To view or add a comment, sign in

More articles by Shruti Singh

Others also viewed

Explore content categories