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

Cross-Validation Types and When to Use It

Using SHAP to Explain Machine Learning Models

Introducing Notate ML

Image Classification From Scratch

How Reproducibility Crisis is Eating Away the Credibility of Machine Learning Technology?

How We Personalized Tasty Tag Search Results

Medium Blog Recommendation

Detecting Programming Languages From Code Snippets

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

How To Create a Self-Signed SSL Certificate for Apache in Ubuntu Virtual Cloud Server

How python is used in automation?

How to create a secure OTP service with twilio verify and python

Python MongoDB Tutorial: Getting Started with MongoDB in Python