The following project is based on K-Nearest Neighbour approach to recognize faces. It uses HaarCascadeClassifier to recognize faces.
The following link shows how to use your webcam to capture video in Python.
An illustration to identify face with Haarcascade.
Record Face Save different faces everytime.
NumPy is the fundamental package for scientific computing with Python.
sudo apt-get install python-pip
sudo pip install numpy scipy
Easy-to-use data structures and data analysis tools for the Python programming language.
sudo pip install pandas
Similarly Install Matplotlib, Seaborn, etc.