Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Orientation support? #17

Open
oliviermilla opened this issue Jun 12, 2014 · 2 comments
Open

Orientation support? #17

oliviermilla opened this issue Jun 12, 2014 · 2 comments

Comments

@oliviermilla
Copy link

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

@dannnylo
Copy link
Owner

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?

@oliviermilla
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants