Hi, I am trying to create my own HOG detector (using a svm). The tutorial with INRIA-dataset worked fine. Now I want to use pictures of size 80x80 as training set.
However, when calling this line with the 80x80-grayscale image:
hog.compute(image, detections, Size(8,8), Size(0,0));
I get the following error:
terminate called after throwing an instance of 'std::length_error' what(): vector::_M_fill_insert
I am using OpenCV 3.1. Does anybody know how I can solve this problem?