Vertical text detection and extraction? #1524
-
I am working on extracting text, but the framework is unable to handle vertical text. For example - |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 12 replies
-
@fg-mindee , please help. |
Beta Was this translation helpful? Give feedback.
-
Thanks @felixdittrich92 for your immediate response.I am able to get the "python-doctr-0.9.0a0" from the main branch, and "fast_base" works perfectly with the detection part, but the recognition is still bad on rotated text. I am using reco_arch = "parseq". |
Beta Was this translation helpful? Give feedback.
-
Thanks, @felixdittrich92. I hope the text/word orientation can be added in the upcoming version as it will help a lot of people. |
Beta Was this translation helpful? Give feedback.
Hi @mllife 👋,
You need to pass
assume_straight_pages=False
to theocr_predictor
instance :)I suggest to use the main branch instead of v0.8.1 and
fast_tiny
orfast_base
as detection model (fast_base will be published today so at the moment of this answer only fast_tiny is pretrained available) - only with pytorch as backend available TF checkpoints will follow in the next weeks