I want to build my own Object Detection algorithm using HOG feature. Since OpenCV has its own framework to do this for pedestrian detect, I think I can just modify some of the parameters to customize my own one. But I have a few questions about it after reading this.
1.Prepare my own dataset:
Do I have to make all the pos and neg images the same size? Sometimes resize the image may lead to image deformation and affect the hog result. If not, then I have to change the HOG parameters to adapt every image(for example: set the window size = image size and generate a 3780 vector). which one is better.(I prefer the second one)
2.For training the SVM.
In opencv, I think they use SVMLight for training which has been integrated in OpenCV. Can I use Libsvm or other package (compatible with function hog.setSVMDetector())?
3.For hog.detectMultiScale() function
After doing all these above, can I get the result (rectangles) just calling this function?
Thanks!