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
pip install ocrd_tesserocr fails with tesseract version 4.0.0-beta-26-gfd49 #28
Comments
Don't use 4.0.0-beta-26-gfd49. Use 4.0.0. |
OK. Thanks |
It does not work for |
I stumbled upon the same issue: tesserocr from github does not work with tesseract from ubuntu (18.04) due to the missing LSTM choice iterator. I had to install tesseract and ocrd_tesserocr from github to make it work. |
It worked for me now. I just had to use an older version for tesserocr: |
Noah had updated the Python code to autodetect the Tesseract version to select the right API. It looks like ocrd_tesserocr still needs that update. Cc @noahmetzger. |
Ubuntu 18.04 should have the right version for Tesseract. Maybe you just have to update / upgrade. See https://packages.ubuntu.com/bionic/tesseract-ocr. |
The version downgrade of tesserocr worked for me. |
@noahmetzger Can you investigate? |
I ll look into it |
I ve tried to reproduce your problem with a virtualbox Ubuntu 18.04 and the default version of tesseract, tesserocr and ocrd_tesserocr of ubuntu. |
@noahmetzger What version of tesserocr are you using?
|
2.4 |
My steps were:
|
I can confirm that the instructions by @noahmetzger work. If @finkf has a running system again, I'd propose to close this issue. |
I have not tried it. But if it works you can close. |
I use
pip install ocrd_tesserocr
to install ocrd_tesseract into my virtualenv environment. The installation fails with:tesseract is installed on the system:
The text was updated successfully, but these errors were encountered: