-
Notifications
You must be signed in to change notification settings - Fork 373
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
Failed loading language Tesseract couldn't load any languages! #34
Comments
What is the path to your |
Can you load any other language, for instance, eng? |
Yes any other lang works fine.Seems problem with two chi_tra and chi_sim |
|
I just tested using the latest |
@eshvan is the problem solved now? |
nope still no luck. |
We still can't reproduce your issue. Tess4J unit tests would run on Windows 10 with no problem. We don't have a Mac to try on. Can you try executing the unit tests from the console? |
I ran into the very same problem on my mac - cannot load 'chi_sim' at all. |
mvn test fails on osx El Capitan.
|
attached full log |
This issue seems just like #26. I came across the same problem under OSX 10.11(tesseract 3.04). All language data larger than about 20-25 MB cannot be loaded. However, it works well under Ubuntu 16.04, tesseract 3.03.
|
@dracupid |
@dracupid, I suspect something with JNA as well because that, beside Tesseract binary, is the piece that has platform-specific components. Tess4J works fine with any language data on Windows and Linux. We do not have a OS X system to perform testing on, so that would depend on the users to carry out. I suggest that you download JNA source and step through it for debugging the issue. Hope that would be the source of the problem, or the investigation may even require stepping into native codes of Tesseract. How about trying out this before looking into JNA? Play with "eng" first. Once you got the program to work, rename the |
seems it can not load chi_sim data in OS X system !!!! |
I also have the problem,and I downoad the chi_sim.traineddata, but the problem is also show |
I'm using tess4j 3.3.0 on Mac with Java8 "kor.traineddata" have the same problem! Failed loading language 'kor' Eng,Spa and other western language work well. But in case of east asian language don't work. "kor", "chi_sim", "chi_tra" don't work This issue is only Mac user's problem? Is there anybody find a solution? for reference, Tesseract command works well in every languages |
Now I meet the same problem... On OSX, there is only a simple message:
and tesseract command works very well. Any one can help? |
I had met the same problem in mac if the problem was solved, please tell me |
I have the same problem too. |
I get this error |
It may be related to Tesseract issue #1250. |
i have the same issue too. |
Did anyone try out with changing locale, as suggested in Tesseract issue?
|
Just tried setting I suggest everyone else having this problem to try this as well. |
get location of ur tessdata folder by typing in command prompt: now txt= image_to_string(img,lang='eng',config=tessdata_dir_config) |
Can someone explain why |
This is the best explanation I've found so far: https://www.gnu.org/software/libc/manual/html_node/Locale-Categories.html |
Make sure the environment variable |
According to tesseract-ocr/tesseract#1250, the problem has been resolved in Tesseract 4.1.0 for macOS. Can someone verify with Tess4J 4.4.0? |
can some one help me with following error: lokesh@Biu:~$ tesseract /home/lokesh/Desktop/tess_imgs/1.tif ~/Desktop/out -l foo |
@lokesh-stack I had similar problem too. I resolved it by downloading the raw tessdata. https://github.com/tesseract-ocr/tessdata/blob/master/eng.traineddata?raw=true
|
This happened to me, in my case I was downloading the data trained with curl, the problem is that I was downloading: just change /blob/ to /raw/ in the URL, can be the case for someone else |
Tess4J version - 3.1.0
Tesseract version - Tesseract Open Source OCR Engine v3.04.01 with Leptonica
Os - OSX 10.11.3 El Capitan
i got error
The text was updated successfully, but these errors were encountered: