Train cascade for small object
I need to train Cascade for small objects (20x20) on non resizable 2d simple negative (for 2d game) but have no luck. I tried opencv_haartraining.exe but starting with 15 stage it takes an awful lot of time. For 20x20 non resizable object this is too much. Also i tried opencv_traincascade.exe with same luck. SURF method also will not work for this small objects.
Here is negative and positive samples:
I hope you can help me with this simple task. I believe there is some simple params for opencv_haartraining and working cascade will be trained. This is not a complex human face after all.
"This is not a complex human face after all" - yea, that's your problem here . take away the color, and all you got left is a slurred blob
The height and width of your objects are same, maybe you could use something like surf(or try orther rotation invariant detector and descriptor) to extract and detect the features, than detect the roi(region of interest) one by one.
Nothing works, not the slurred blob or surf(surf can't detect so small object) or roi. There is also objects with different shape, even animated.