This is a simple face detection program. Using OpenCV and a Haar Cascade Classifier, it is able to detect faces in a video stream. It will save the frame with the most faces in it to a file.
The video used in the demo is from Pexels
-
Install dependencies
pip3 install -r requirements.txt
-
Run the program
python3 main.py
- Add a GUI
- Add a way to save the frames to a folder
- Add a way to save the frames to a video
- Add a way to save the frames to a video with the faces highlighted and the name of the person