Skip to content
"Human" tools
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
detectFace.py
detectHuman.py
haarcascade_frontalface_default.xml
haarcascade_upperbody.xml

README.md

PiHuman

Let's test and compare human detections of OpenCV and Dlib

OpenCV version

Nice code from : http://www.pyimagesearch.com/2015/11/09/pedestrian-detection-opencv/.

See also http://www.pyimagesearch.com/2014/11/10/histogram-oriented-gradients-object-detection/ for some background of HOG-based object detection.

  1. Install OpenCV

  2. Install required packages

pip install imutils
  1. run like this.
python detectHuman.py -i [FOLDER NAME OF IMAGES]

Dlib version

Datasets to test

  1. INRIA Person Dataset http://pascal.inrialpes.fr/data/human/

  2. More challenging datasets...

You can’t perform that action at this time.