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

Couldn't find tesseract dictionaries on Debian #6

Open
sthibaul opened this issue Jan 3, 2018 · 3 comments
Open

Couldn't find tesseract dictionaries on Debian #6

sthibaul opened this issue Jan 3, 2018 · 3 comments

Comments

@sthibaul
Copy link
Contributor

sthibaul commented Jan 3, 2018

Hello,

We've had issues with starting lios at all on Debian, because the tesseract data is in l"/usr/share/tesseract-ocr/4.00/tessdata" instead of "/usr/share/tesseract-ocr/tessdata". Perhaps the tesseract backend should just use the output of the "tesseract --list-langs" command?

Samuel

@svoboda77
Copy link

It's still not fixed in Debian 12 bookworm. To fix this in bookworm, create a softlink tessdata -> 5/tessdata in /usr/share/tesseract-ocr.

@sthibaul
Copy link
Contributor Author

sthibaul commented May 7, 2023

It's still not fixed in Debian 12 bookworm. To fix this in bookworm, create a softlink tessdata -> 5/tessdata in /usr/share/tesseract-ocr.

That is not really a fix :)

lios should really use the tesseract command-line tool, instead of hardcoding paths

@Nalin-x-Linux
Copy link
Collaborator

I agree with @sthibaul. I think '--list-langs' can list the languages and we can remove other code since we are no longer support tesseract-training gui.

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

3 participants