I found this repository for training a SVM with HOG features. I changed the code so the hog window size is not 64x128 but 64x64 instead as I don't want to detect people. My goal is to detect a car steering wheel. After training I have:
True Positives: 303
True Negatives: 461
False Positives: 6
False Negatives: 2
My problem is that while testing with my webcam, I got false positives. It detects every circular shape and also some other shapes which doesn't look like a steering wheel at all. The circular shapes are well detected (as I mean that while moving them and rotating them they are still detected) while the other false detected are detected only in a specific position.
Do you have any idea how can I train the SVM correctly?