EAST
EAST copied to clipboard
Wrong text orientation
HI,
I am facing an issue if the text is rotated more than 45 degrees. The text box is correctly recognised at correct angle, but the orientation is always left to right, even if the text is right to left or upside down. I trained EAST on single image with vertical text, but still the text orientation is left to right. The polygon is always sorted to be in left to right direction.
The rbox generator is causing this. https://github.com/argman/EAST/blob/master/icdar.py#L557 Any workaround?
Hello, I have the same question, and I find this line, may be the answer. if a>45, then predict a, else predict b:
https://github.com/argman/EAST/blob/master/icdar.py#L371