Improving accuracy OpenCV HOG people detector

asked 2014-10-28 06:38:59 -0500

RiSaMa gravatar image

Hello, I'm working in a project. A part of project consist to integrate the HOG people detector of OpenCV with a camera streaming .

Currently It's working the camera and the basic HOG detector (CPP detectMultiScale -> http://docs.opencv.org/modules/gpu/doc/object_detection.html). But don't work very well... The detections are very noising and the algorithm isn't very accuracy...

Why?

My camera image is 640 x 480 pixels.

The snippet code I'm using is:

std::vector<cv::Rect> found, found_filtered;
cv::HOGDescriptor hog;
hog.setSVMDetector(cv::HOGDescriptor::getDefaultPeopleDetector());
hog.detectMultiScale(image, found, 0, cv::Size(8,8), cv::Size(32,32), 1.05, 2);

Why don't work properly? What need for improve the accuracy? Is necessary some image size particular?

THANKS YOU VERY MUCH!!

PS: Do you know some precise people detection algorithm, faster and developed in cpp ??

edit retag flag offensive close merge delete

Comments

Hi am looking for the solution of the same problem... can anyone plz help here.... the detection is not constant and the detection boxes are flickering as the person moves.

ads gravatar imageads ( 2016-12-29 04:35:39 -0500 )edit