-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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 Angle is Incorrect (180 instead of 0) #4172
Comments
I figured a work around, which means Im suspecting the tesseract orientation code isn't using enough characters to determine the correct orientation. Adding
|
If you know in advance that the text is written in a specific language, like English in this case, another thing you can try is to add the parameter I didn't test this on the attached image. |
and with specifying lang:
|
Same problem here, though raise min_characters_to_try did help with the accuracy. |
Current Behavior
Trying to get the orientation of an image using
psm 0
, and it's reporting an incorrect orientation angle.Commands Tried:
Output of the osd result:
Image being used:
Expected Behavior
The result should spit out a rotation of zero..
Suggested Fix
N/A
tesseract -v
Operating System
macOS 13 Ventura
Other Operating System
No response
uname -a
No response
Compiler
No response
CPU
No response
Virtualization / Containers
No response
Other Information
No response
The text was updated successfully, but these errors were encountered: