Face Recognition and Automation using Python


Objective :

To create a program that performs the given below tasks upon recognizing a particular face —

⭕ On recognizing the user’s face :
○ It sends an email to the user’s mail-id.
○ Send a Whatsapp message to one of the user's contacts.

⭕ On recognizing another face, it does the following :
○ Creates EC2 instance in the AWS.
○ Creates 5 GB EBS volume and attach it to the instance.

Developing and Training a Face recognition model

Haar Cascade Frontal Face Detector is Employed.

Preparing Dataset

Automating WhatsApp and E-mail

KNN code

Automating AWS EC2 instance launching


The model is trained to recognise faces by providing an appropriate database, when the face is recognized the program sends an email to the specified email and sends a WhatsApp message to the specified number also on recognising another face it launches an EC2 instance in AWS along with creating a 5 GB EBS volume and attaches it to the instance.




Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Introduction to Neural Networks, Advantages and Applications

Materials Recognition with ToF Camera

LENET 5 — Overview

Argument for Using Physics Based Feature Engineering in Machine Learning

What is CLIP (Contrastive Language — Image Pre-training) and how it can be used for semantic image…

A dive into Natural Language processing

MLP and Image: The Relationship That Never Worked

Understanding Euclidean Distance and Cosine_Similartiy

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Mohammed Adnan

Mohammed Adnan

More from Medium

A short conversation on Industry 4.0, AWS Sitewise, AIML and saving money

Automation And Django Debug

How to Run Docker Inside Docker?

How to join Array/List of Chars/String Elements in Bash Shell Scripting and Python Scripting ?