I'm need to recognise if in an image the are shapes that are similar at a circle or an ellipse with different orientation.
Some example:
I'm working with Haar cascade, I try different cascade but don't work very well.
I have bring a simple image of a black ellipse with a with background, with this I created my positive examples, maxzangle different to zero to have different orientation (right?)
opencv_createsamples -img ovale.png -bg bg.txt -info info/info.lst -pngoutput info -maxxangle 0 -maxyangle 0 -maxzangle 1.3 -num 500 -bgcolor 255
opencv_traincascade -data dati -vec positives.vec -bg bg.txt -numPos 450 -numNeg 300 -numStages 5 -w 21 -h 7 -maxFalseAlarmRate 0.2
It stop then the third stages, and if I try it didn't work.
Can you help me, please?