This is a Python 3 based project to perform fast, accurate face detection with OpenCV 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 and OpenCV
pip install numpy
pip install opencv-python
- Open terminal and enter the file path to the desired directory and paste the command given below
python detect_faces.py --image sample.jpg --prototxt deploy.prototxt.txt --model res10_300x300_ssd_iter_140000.caffemodel