-
Notifications
You must be signed in to change notification settings - Fork 74
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
Difference in output generated by gem and tesseract command line #40
Comments
The gem uses the version installed on the system. |
Then what's the reason of getting different output? Is it possible that may be gem uses the older version of tesseract installed on system instead of the new version? |
No, that's not how it works. The only possible reason is different default options between the binary and the library. |
So, how can i change these options for the binary? Also I wanted to set extra configuration variables like matcher_good_threshold etc. what option should i give in the ruby script? |
Was there ever an answer for this question? I'm having the same problem. This may not be the right place to ask, but how can I see the default configuration being used by the binary so I can pass that configuration into the gem? |
I honestly don't know, someone should have to dig around the binary's source code to figure out what differing default options are there. |
Ok; thank you.
|
@meh, |
I was trying to extract text from image using tesseract command line but since I wanted to use ruby script I tried your gem. Now, the problem is I am getting different output by gem. Also in some cases gem is not performing at par and giving bad output.
Is there any version difference?
Additional info:
$ tesseract -v
tesseract 3.02.02
leptonica-1.69
libjpeg 8d : libpng 1.6.12 : zlib 1.2.5
What version is gem using?
The text was updated successfully, but these errors were encountered: