/face-detection-with-OpenCV-and-DNN

Detecting faces using OpenCV's Deep Neural Network

Primary LanguagePythonMIT LicenseMIT

Face detection using OpenCV and Deep Neural Network

Detected faces

How to run?

To use in an image:

$ python detect_faces.py --image group.jpg --prototxt deploy.prototxt.txt --model \
res10_300x300_ssd_iter_140000.caffemodel

To use in webcam:

$ python detect_faces_video.py --prototxt deploy.prototxt.txt --model \
res10_300x300_ssd_iter_140000.caffemodel