Skip to content
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

Could not execute tesseract #56

Open
iiitmahesh opened this issue Dec 1, 2016 · 7 comments
Open

Could not execute tesseract #56

iiitmahesh opened this issue Dec 1, 2016 · 7 comments

Comments

@iiitmahesh
Copy link

How to slove this problem , I tried both python2 and 3 uuntu 16.04.

ERROR:
Could not execute tesseract
Please make sure you have Tesseract installed correctly

@asifali22
Copy link

I have the same issue and Tesseract is installed correctly.

@virantha
Copy link
Owner

Please see the advanced options in the online usage guide to specify the tesseract location.

If you can send me more details on where your tesseract binary is located, I can try to improve the binary auto location.

@tranhungt
Copy link

tranhungt commented Aug 30, 2017

Do a which tesseract to see if it can be found.
It might have to do with exporting it to your path.

@vvksingh24
Copy link

I was having the same issue this can be because of you have installed pytesseract but not tesseract you can install it sudo apt install tesseract-ocr if you are using ubuntu

@f0rdprefect
Copy link

Had this, too. looks like the command line for tesseract invocation needs another dash. Search for -psm and replace with --psm

@pidugusundeep
Copy link

where do i search for that @f0rdprefect ? to replace with --psm ?

@f0rdprefect
Copy link

pypdfocr_tesseract.py -- I forked this repo and tried to put it into a .snap. Need more time to figure out how to properly expose other commands inside the snap. Anyhow I fixed the --psm switch and the requirements to reportlab version 3.4.0.

Would be good to know either how to make it run with an up to date reportlab / how to create a snap which will properly work...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants