dannnylo/rtesseract

Orientation support?

Opened this issue · 2 comments

Hello, is there any plan to support Tesseract'Orientation detection?

Hello,
You mean, the rtesseract recognize the text with different orientation or give this information?
If only recognize the text, you can pass option -psm with value 0,1,2 or 3.
Else can you know the command with tesseract executable to get this information?

I mean both. Either have rtesseract be smart enough to know which direction to read, or have a way to get this info and tilt the picture to the right direction.

I'm using a brute force way right now: I rotate the picture 3 times, make them all go through rtesseract and pick the one with the best result. Works great, it just is compute intensive.