Facial Detection

Featured image

This is a simple yet quick implementation of facial detection using the pretrained Caffe model. I created this as a helper module to be used in future projects whereever there could be a need to write a module to detect faces among images and videos.

How to run?

for still images:

python detect_faces.py --image your-image-file.jpg --prototxt deploy.prototxt.txt \
      --model res10_300x300_ssd_iter_140000.caffemodel

for videos:

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

Check out the GitHub repo to know more.


If you liked this project, please consider buying me a coffee

Buy me a coffeeBuy me a coffee