Sitemap

Face Recognizer Utility Tool

3 min readJun 24, 2021

Description πŸ“„

❄️ A program that performs the below-mentioned tasks upon recognizing a particular face.

πŸ“Œ When it recognizes your face then β€”
πŸ‘‰ It sends mail to your mail-id by writing this is the face of your_name.
πŸ‘‰ Secondly, it sends a WhatsApp message to your friend.

πŸ“Œ When it recognizes the second face, it can be your friend or family member's face.
πŸ‘‰ Create EC2 instance in the AWS.
πŸ‘‰ Create 5 GB EBS volume and attach it to the instance.

βœ… NOTE: All the codes have been written using Python and the AWS functionality has been implemented using Terraform.

Import Libraries:

The needed libraries are as follows:

Press enter or click to view image in full size

Create Face Dataset:

We need to create the face detection dataset for our model to work.

Press enter or click to view image in full size
Press enter or click to view image in full size

Importing Face Dataset:

Now, we need to import the dataset that we just created above.

Press enter or click to view image in full size
Press enter or click to view image in full size

Email Function:

This is the function to send emails. The password have been stored in a separate file to protect it.

Press enter or click to view image in full size

WhatsApp Message Function:

This is the function to send WhatsApp messages.

Press enter or click to view image in full size

AWS EC2 Launch Function:

Here first, we need to create a Terraform file that will launch our AWS Infrastructure.

Press enter or click to view image in full size

Now, the python function to execute this tf file.

Press enter or click to view image in full size

Driver Program:

Finally, we have the driver program to run the above-created functions as per need.

Press enter or click to view image in full size
Press enter or click to view image in full size
Press enter or click to view image in full size

So, this is the end of the project.

Thanks for stopping by.

--

--

Archishman Ghosh
Archishman Ghosh

Written by Archishman Ghosh

A final year engineering undergrad with a curious mind and filled with positivity. Always open-minded, ready to learn new skills and explore new domains.

No responses yet