Performing different tasks using Facial Recognition

A facial recognition system is a technology capable of matching a human face from a digital image or a video frame against a database of faces, typically employed to authenticate users through , works by pinpointing verification services and measuring facial features from a given image.

In this blog, we are going to see how we can perform various tasks using Facial Recognition. So, first task is to send a email to someone using facial recognition. For this we have to use SMTP protocol. The Simple Mail Transfer Protocol (SMTP) is an internet standard communication protocol for email transmission.

For doing this task using python we have to use smtplib library. This help us to transfer the email to other person without opening gmail. But to use it we have to allow access to less secure apps in google account settings.

Second task is to send Whatsapp messages to someone using facial recognition. For this we have to use a library known as pywhatkit .

This library consists of a function known as pywhatkit.sendwhatmsg() which takes arguments like phone number of the sender, message and what time you want to send the message. It will automatically open the whatsapp on the allocated time and send the message to the other person.

Third task is to launch an AWS EC2 instance using facial recognition. Before knowing how to do this , lets see what is an AWS EC2 instance. It is a commercial web service for hosting computer applications.

For launching EC2 instance using python we have to use boto3 library. Boto3 is the name of the Python SDK for AWS. It allows you to directly create, update, and delete AWS resources from your Python scripts. By using it we have to first call for EC2 resource and then create instances by providing information like image id and instance type.

Fourth task is to create 5 GB EBS volume and attach it to the instance. For this we have to use create_volume() function after creating an instance and provide details like availability zone, size, volume type and tag specification. Finally attach the EBS volume using attach_volume() function.

To see the source code of the following operations refer this github link




Flutter Developer & Full Stack Developer

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

Recommended from Medium

Security Technology Q1 Summary

{UPDATE} Paw Care! Hack Free Resources Generator

Hill Cipher Encoding

{UPDATE} Yummy Pop - Fun match 3 game for family about candy and gummy Hack Free Resources…

Why is a VPN recommended for Businesses and Startups?

Cybersecurity Foundations — Notes

{UPDATE} Fort Builder Hack Free Resources Generator

What are Refresh Tokens and How They Interact with JWTs?

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
Aditya Jain

Aditya Jain

Flutter Developer & Full Stack Developer

More from Medium

Google Search Algorithm — Vicinity Update | What’s new?

Applications of AI in News Reporting

Image Inpaiting — Next GEN Watermark needed?

A reverse proxy server accepts a request from the client, forwards it to a backend server, and…