rtesseract icon indicating copy to clipboard operation
rtesseract copied to clipboard

Orientation support?

Open oliviermilla opened this issue 11 years ago • 2 comments

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

oliviermilla avatar Jun 12 '14 10:06 oliviermilla

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?

dannnylo avatar Jun 12 '14 15:06 dannnylo

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.

oliviermilla avatar Jun 13 '14 08:06 oliviermilla