Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version
static vector<float> detector = HOGDescriptor::getDefaultPeopleDetector();
if (!detector.size()) {
fprintf(stderr, "ERROR: getDefaultPeopleDetector returned NULL\n");
return -1;      
}
hog.setSVMDetector(detector);

seems to work now