Ask Your Question

Revision history [back]

i guess your hog.xml is trained to be used with CascadeClassifier like hogcascade_pedestrians.xml but unfortunately it is no more supported (if you want to use it you should use OpenCV 2.4.x).

you can see here a suitable xml to be used with HOGDescriptor.