this reporsitory has two ways to do a a facial detection on:
- Image
- Video
- Python >= 3.x
- OpenCV > 3.x
this code was testes and made in Python 3.7.0, i'm not sure if work correctly on all the Python 3.x version but it should.
this following in the way to run the code
-
To run in an image
python face_detect.py images/howresearch_4.jpg
-
to run in video
python face_detect-webcam.py