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

Issues in path of tesseract in train.py #44

Open
alucard079 opened this issue Jan 31, 2019 · 3 comments
Open

Issues in path of tesseract in train.py #44

alucard079 opened this issue Jan 31, 2019 · 3 comments

Comments

@alucard079
Copy link

I specified the path of my tesseract correctly but still have this error.

screenshot from 2019-02-01 00-38-15
screenshot from 2019-02-01 00-41-23
screenshot from 2019-02-01 00-41-34

or there is something wrong with my installation in OCR?

@soufianesabiri
Copy link

Have you found a solution?? Please help

@aliyazdanipak
Copy link

as the error log ... the tesseract folder is not accessible by the script , you should change permissions or run the script with sudo

@matthew-w-bayley
Copy link

this is a 3 year old thread but for Ubuntu these are my directories - note the TESSERACT_BIN and TESSERACT_TRAINDIR are not based off of TESSERACT_DIR as in the train.py and are different

TESSERACT_DIR='/usr/share/tesseract-ocr/4.00/tessdata'
TESSERACT_BIN='/usr/bin/tesseract'
TESSERACT_TRAINDIR= '/usr/bin'

this successfully generated a trained file for me

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

4 participants