aster.pytorch icon indicating copy to clipboard operation
aster.pytorch copied to clipboard

how to predict vertical or 90 degree rotated image

Open ramdhan1989 opened this issue 2 years ago • 1 comments

hi, how to improve prediction for this case : vertical_text I tried to run the model on this image but the result was not so good (it predicted as "i"). I would like to know if there is a certain mechanism to force the model in recognizing specific character only such as -.,0123456789

thank you

ramdhan1989 avatar Aug 21 '22 04:08 ramdhan1989

In practice, we firstly rotate this image by 90° or -90°. And then select the result with a higher recognition score.

ayumiymk avatar Aug 25 '22 03:08 ayumiymk