trainHOG icon indicating copy to clipboard operation
trainHOG copied to clipboard

Example program showing how to train your custom HOG detector using openCV

Results 12 trainHOG issues
Sort by recently updated
recently updated
newest added

If anyone intersted there is an example of using linear svm + hog descriptor in opencv, but opencv uses libsvm and using liblinear will be faster. https://github.com/Itseez/opencv/blob/ddf82d0b154873510802ef75c53e628cd7b2cb13/samples/cpp/train_HOG.cpp https://www.csie.ntu.edu.tw/~cjlin/liblinear/

What should I do when my images are 64x64 instead of 64x128? Is changing this line hog.winSize = Size(64, 128); to hog.winSize = Size(64, 64); enough?

enhancement
question