Skip to content

Files

Latest commit

c4cb106 · May 25, 2021

History

History

01_Deep_Learning_Face_Detection

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
May 24, 2021
May 24, 2021
May 24, 2021
May 25, 2021
May 24, 2021
May 24, 2021

Day 1: Face detection with OpenCV and Deep Learning

In this section we'll learn how to apply face detection with OpenCV to single input images, videos, and webcams.

Preview:

Commands used:

  • Face detection with Images:

    python detect_faces.py --image data/image.jpg --prototext model/deploy.prototxt.txt --model model/res10_300x300_ssd_iter_140000.caffemodel

    python detect_faces.py -i data/sample.jpg -p model/deploy.prototxt.txt -m model/res10_300x300_ssd_iter_140000.caffemodel

  • Face detection with Video:

    python detect_faces_video.py -v data/1.mp4 -p model/deploy.prototxt.txt -m model/res10_300x300_ssd_iter_140000.caffemodel

  • Face detection with Webcam:

    python detect_faces_video.py -p model/deploy.prototxt.txt -m model/res10_300x300_ssd_iter_140000.caffemodel