This project contains the code for an end-to-end face recognition model which will generate training data using webcam and then build a classifier to recognize different faces
This project requires Python 3 and the NumPy and OpenCV libraries
Use the below command to install the required libraries
python -m pip install opencv-python
python -m pip install numpy
This project uses the K-Nearest Neighbour (KNN) ML Allgorithm to recognize faces.
- First run the face_data_collect.py file to store your face data.
- Then run the face_recognition.py to run the face recognition algorithm.
- Press q on the keyboard to exit quit the video capture window.
The source code and the training data which is used by this project is licensed under the MIT license.