This is a Python 3 based project to perform fast & accurate face detection with OpenCV face detection to videos, video streams, and webcams using a pre-trained deep learning face detector model shipped with the library.
- Python 3.x, OpenCV 3 or 4
- Open terminal and install numpy, imutils and OpenCV
pip install numpy
pip install imutils
pip install opencv-python
- Open terminal and enter the file path to the desired directory and paste the command given below
python detect_faces_video.py --prototxt deploy.prototxt.txt --model res10_300x300_ssd_iter_140000.caffemodel