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
stdin option doesn't work for psm 0 and 2 #85
Comments
At the moment stdin is supported only for OCR. |
Just so you know, if I'm not mistaken, it worked with Tesseract 3.03 and only broke with Tesseract 3.04. It is also very handy to script around Tesseract (avoid using temporary files) (see Pyocr for instance). |
@jflesch: I am currios: Why you call tesseract executable from python instead of using C-API? IMO it should be faster... |
When I started working on PyOCR, it was still Tesseract 2.x. At the time, if I remember correctly, there was only a C++ API and it seemed painfully hard to use (and binding on C++ API from Python is really annoying). Good to know there is a C API now. I'll have a look, see if I can bind on it easily. Thanks for the tip :) |
fixed with 7089c7b |
I am using the master branch from github (3.05.00dev) and facing some problems when using the stdin option in conjunction with the -psm 0 and -psm 2 options
gives me the error
However, the command
works as expected.
Do I miss something?
Regards,
Caleb
The text was updated successfully, but these errors were encountered: