Does tesseract (executable) has the same problem? If yes, that check the content of /usr/share/tesseract-ocr/4/tessdata/ If not follow code of tesseract executable.
Zdenko so 25. 11. 2023 o 11:07 'sanogo sy' via tesseract-ocr < [email protected]> napĂsal(a): > Hi every one. I got an error with tesseract. When I try to use it in my > app, I got an error like "Failed loading language eng". > I installed tesseract 5 with leptonica 1.79 > > To solve the problem I tried that command : > export TESSDATA_PREFIX=/usr/share/tesseract-ocr/4/tessdata/ > I cloned from git repo tesseract tessdata: > https://github.com/tesseract-ocr/tessdata.git > Then I moved files in /usr/share/tesseract-ocr/4/tessdat/ folder. > But it still not working. > > I really need help, please. I've been working for 3 days. > > -- > You received this message because you are subscribed to the Google Groups > "tesseract-ocr" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tesseract-ocr/3ac7cbbe-6481-46da-b14f-7c933f499414n%40googlegroups.com > <https://groups.google.com/d/msgid/tesseract-ocr/3ac7cbbe-6481-46da-b14f-7c933f499414n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/CAJbzG8yPXn7VUHVR4u57NNmXtngG_3HuXPM2K6dq7VQgUXJPkw%40mail.gmail.com.

