- Clone the repository
git clone https://github.com/anshrk/face-detection
cd face-detection
- Installed the required libraries
# use a virtual environment if needed
pip3 install -r requirements.txt
- Use the app
# detecting an image
python3 face_detect.py <path of the image>
# eg
python3 face_detect.py test/abba.png
python3 face_detect.py test/foo.jpg
# detecting through facecam
python3 live.py
- Pressing any key while the image is in focus will close the application.
- Right-click to save an image.