This program has 3 main phases as :
- Creation of dataset/testdata for the recognizer
- Creation of trainer set which generates .yml file for trainer data
- Main recognizer which uses LBPH- local binary point histogram function.
- OpenCV
- numpy mkl
- pillow
- create 2 empty folders namely - dataset and trainer - in the same directory in which you have the code files
- run face_dataset.py file
- check if the dataset folder have some data or not.
- run face_training.py file
- check trainer folder should have .yml file
- now run the face_recognition.py
- for more accurate results create more test data as well as trainer data.