Face Recognition on live video from webcam

Mona
Jan 10, 2021

Real-time Face Recognition:

Recognize and manipulate faces with the world’s simplest face recognition library. It is built using dlib’s state-of-the-art face recognition with deep learning. The model has an accuracy of 99.38% on the Labeled Faces in the Wild a public benchmark for face verification.

Pre-requisite:

Requires OpenCV (the ‘cv2’ library) to be installed only to read from webcam.

Knowledge of numpy, matplotlib is essential before working on the concepts of OpenCV.

pip3 install opencv-python

pip3 install face_recognition

Final Code is as follows:

Conclusion:

This is an introduction to facial recognition with Python.Aim was to identify people with their name. It was an engaging activity!!

--

--