-
Notifications
You must be signed in to change notification settings - Fork 29
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
different result with tesseract cli and leptess wrapper #41
Comments
Hod did you install tesseract and libtesseract? What version of tessearct do you have? |
Thank you for your answer. I'm on Gnu Archlinux, I installed:
|
Yeah, most likely that the command line uses different set of default options :( |
The default page seg mode for leptess is set to 6, which is block mode, and the default value for tesseract would be 3, which is auto. Setting this variable manually would get the same result: lt.set_variable(Variable::TesseditPagesegMode, "3").unwrap();
FYI But PSM_SINGLE_BLOCK in library. |
Hello,
Thank you for this work!
I have a curious behavior, when I try to retrieve the text from the image bellow in command line:
I have as result,
But when I use the wrapper
I have:
I've tried to use the traineddata from this repository. Or nothing. But same result.
Maybe the command line use default parameters.
Thanks in advance
The text was updated successfully, but these errors were encountered: