Trained Using: Images added into the folder 'faces'
This project works by identifing faces from images and then searching for them using the local camera. If the faces match, the name of the person is indicated on the screen!
-
Clone the repository onto your personal computer
-
Ensure that Python is installed
--Check the version:
python3 -V
- Install OpenCV and face_recognition modules of Python
pip install opencv-python
pip install face_recognition
-
Into the directory 'faces', upload png images of faces that you would like to train the model with
-
Set the camera device to '0' if using PC camera and '1' if using an external camera source
-
Run the program using a python interpreter
Important
It might take some time to load if there are a large number of images uploaded.