-
Notifications
You must be signed in to change notification settings - Fork 946
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
Tesseract can't open trained data #55
Comments
Did you check the path and a file, which you told about? |
@golergka, I experienced this issue as well, and it was because my "tessdata" folder was a symbolic group in Xcode instead of a referenced folder. You'll know if you have it right if the "tessdata" folder has a blue icon. It won't work if the icon is a yellow folder. Here's a screenshot of what your project structure should look like: |
Thank you @kevincon |
@golergka, it seems that this is resolved. If not please reopen this issue. Thanks |
I go through the same error 'Please make sure the TESSDATA_PREFIX environment variable is set to the parent directory of your "tessdata" directory.' When I try to change the eng.traineddata to chi_sim.traineddata.What the mistake I have made? |
@Ithoughts, That means, that tesseract can not see you traineddata files.
|
@ws233 I have put them in a right folder and chose the right version of traineddata files.As you concerned,'You missed some files. There could be more than one file necessary for you language.',I wonder what files I have missed,what files are necessary?How to generate the indeed files?Thanks! |
There is a very detailed page about training tesseract: https://code.google.com/p/tesseract-ocr/wiki/TrainingTesseract3. But before you jump into this, could you provide your traineddata files, specify the path, where you put them and show a code snippet, which you use to run tesseract? |
@ws233 I just put the chi_sim.traineddata into the tessdata file,but its recognition is horrible.how can I improve the recognition of Chinese?What can I do ?Please give me a detailed tip,thanks a lot! |
Download eng.traineddata from Google Then just move it into the ../tessdata/ $ gunzip eng.traineddata.gz |
@kevincon thank you. |
how to the "tessdata" folder has a blue icon |
@Ithoughts I have the same problem as you now, have you worked out it,? So, could you give me some advices, thanks! |
how do you move the eng.traineddata to tessdata on mac OS? "mv: rename eng.traineddata to ../tessdata/: No such file or directory" |
I've created new project with CocoaPods and Tesseract and load the tesseract
Here's the code:
Of couse, I indeed have tessdata folder inside my project folder, and there's
eng.traineddata
file there as well,The text was updated successfully, but these errors were encountered: