Improving accuracy OpenCV HOG people detector [closed]

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 -> But don't work very well... The detections are very noising and the algorithm isn't very accuracy...


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.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?


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

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by sturkmen
close date 2020-09-28 14:33:33.232848


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