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

how to add new lang + how do you put it on web without html,css,js ? #6

Open
Artinnavidgoli opened this issue Jul 19, 2023 · 1 comment · May be fixed by #8
Open

how to add new lang + how do you put it on web without html,css,js ? #6

Artinnavidgoli opened this issue Jul 19, 2023 · 1 comment · May be fixed by #8

Comments

@Artinnavidgoli
Copy link

No description provided.

@NL-TCH
Copy link

NL-TCH commented Nov 23, 2024

oke hear me out:

  1. Add the language with the correct abbreviation in the app.py, for example dutch language:
    'Dutch': 'nld', is added on line 28. you can find the correct combinations at https://tesseract-ocr.github.io/tessdoc/Data-Files-in-different-versions.html
  2. Then download the datafile for the language (dutch in my case) from the following github page: https://github.com/tesseract-ocr/tessdata/blob/4.1.0/nld.traineddata and put it in /usr/share/tesseract/tessdata:
ls /usr/share/tesseract/tessdata/
configs  eng.traineddata  nld.traineddata  tessconfigs

Done :)

@NL-TCH NL-TCH linked a pull request Nov 23, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants