Displays internal stages of detection.
- OpenCV
- Other: sudo apt-get install libgflags-dev libgoogle-glog-dev
$ git clone https://github.com/ashokpant/detection-naked.git
$ cd detection-naked
$ mkdir build
$ cd build
$ cmake ..
$ make
$ cd detection-naked/build
$ ./detection_demo --detector=../data/haarcascade_frontalface_alt2.xml --image=../images/ashok.jpg
-minWH=300x300 --parallel=false --naked=true --group=true --minNeighbour=1
Options:
--naked <detection mode (true/false), default true>
--dh <draw haar features (true/false), default true>
--parallel <run detector in parallel (true/false), default true>
--group <group final results (true/false), default true>
--image <input image>
--video <input video>
--camera <input camera id, default 0>
--detector <cascade detector>
--minWH <detector minimum widthxheight>
--minNeighbour <minimum number of neighbours to group the matched patches>