Ask Your Question

hoangnguyen79's profile - activity

2015-09-09 10:36:58 -0600 received badge  Nice Answer (source)
2015-03-16 14:20:33 -0600 received badge  Teacher (source)
2014-05-28 13:32:41 -0600 received badge  Necromancer (source)
2012-11-27 17:08:22 -0600 answered a question HogDescriptor DaimlerPeopleDetector does not work

Have you set the window size of the HOG detector: hog.winSize = Size(48, 96);

The reason is that the Daimler classifier was trained using training images of that size. Only with that image size will the HOG feature vector has the correct dimensions of 1981, which can be fed into the Daimler SVM classifier.