I need to prepare training data which I will then use with OpenCV's cascaded classifier. I understand that for training data I'll need to provide rectangular images as samples with aspect ratios that correspond to the -w
and -h
parameters in OpenCV's training commands.
I was fine with this idea, but then I saw web-based annotation tool LabelMe. People have labelled in LabelMe using complex polygons!
Can these polygons be somehow used in cascaded training? Wouldn't using irregular polygons improve the classification results?
If not, then what is the use of the complex polygons that outline objects in LabelMe'd images?