EAST icon indicating copy to clipboard operation
EAST copied to clipboard

Wrong text orientation

Open dhimanpd opened this issue 6 years ago • 1 comments

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?

dhimanpd avatar Oct 29 '18 03:10 dhimanpd

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 draw_east_angle

northeastsquare avatar Dec 27 '19 07:12 northeastsquare