Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

HogDescriptor DaimlerPeopleDetector does not work

Hi,

We are currently working on an implementation using the HOGDetector to detect people in a given video stream. We are using the Default People Detector which works for us, but it very often detects only parts of the person.

So we wanted to test how the DaimlerPeopleDetector works. Unfortunately using this detector we never get any detected Person. The output is simply empty.

Code:

cv::HOGDescriptor hog(cv::Size(48, 96), cv::Size(16, 16), cv::Size(8, 8), cv::Size(8, 8), 9, 1,-1, cv::HOGDescriptor::L2Hys, 0.2, true, cv::HOGDescriptor::DEFAULT_NLEVELS); hog.setSVMDetector(cv::HOGDescriptor::getDaimlerPeopleDetector());

hog.detectMultiScale(tempFrame, found);

Does anyone have suggestions or knows the problem? Your help will be highly appreciated!

Regards, Julian

click to hide/show revision 2
No.2 Revision

HogDescriptor DaimlerPeopleDetector does not work

Hi,

We are currently working on an implementation using the HOGDetector to detect people in a given video stream. We are using the Default People Detector which works for us, but it very often detects only parts of the person.

So we wanted to test how the DaimlerPeopleDetector works. Unfortunately using this detector we never get any detected Person. The output is simply empty.

Code:

cv::HOGDescriptor hog(cv::Size(48, 96), cv::Size(16, 16), cv::Size(8, 8), cv::Size(8, 8), 9, 1,-1, cv::HOGDescriptor::L2Hys, 0.2, true, cv::HOGDescriptor::DEFAULT_NLEVELS);
    hog.setSVMDetector(cv::HOGDescriptor::getDaimlerPeopleDetector());

hog.setSVMDetector(cv::HOGDescriptor::getDaimlerPeopleDetector());

hog.detectMultiScale(tempFrame, found);

found);

Does anyone have suggestions or knows the problem? Your help will be highly appreciated!

Regards, Julian