Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How haar like tilted features are represented in xml cascade?

Hello everybody!

I am trying to flip horizontally the rectangles of xml cascade. For normal rectangles, without tilt, I simply use rect.x = img_width - rect.x - rect.width.

But, aparently, that equation does not apply when the rectangle is tilted. When the rectangle is tilted we have the following marks in xml cascade : <tilted>1</tilted>

Someone, please, could help to understand to to flip tilted rectangles in the xml cascade?