-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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 Segmentation fault during fine tuning with fast traineddata #2255
Comments
You'll need https://github.com/tesseract-ocr/tessdata_best/raw/master/eng.traineddata. It is a known bug that Tesseract crashes when training with fast models (either from tessdata_fast or tessdata) is tried. See issue #1573. |
as directed I placed above file in tessdata/best/eng.traineddata . However the error persists. Should I redo the entire steps from beginning of the tutorial ? to solve this problem |
That's the wrong download link. |
I solved this error by A) Deleting everything and then reinstalling tesseract from here: B) cd tesseract/tessdata C) sudo mkdir best D) cd best E) wget https://github.com/tesseract-ocr/tessdata_best/raw/master/eng.traineddata Now you have all the correct stuff needed to run this tutorial. Geez !! the files required to run this tutorial are all over the world. Someone please combine this into a single github repo wherein you can git clone and follow the instructions. |
Environment
Tesseract Version: 4.0.0-324-gb67f
Platform: Ubuntu16.04 64-bit
Current Behavior:
I am following TrainingTesseract 4.00 tutorial (https://github.com/tesseract-ocr/tesseract/wiki/TrainingTesseract-4.00). I am on a point where you Fine Tune for ± a few characters. This is the error that I am observing:
In order to fix this error I have referred (#1447) issue.
Ive tried 1) downloading data from wget from https://github.com/tesseract-ocr/tessdata/raw/master/eng.traineddata and placed this data in tessdata/best/eng.traineddata, however this does not resolve the error
Let me know if there is anything else I should do to fix this error?
Expected Behavior:
Suggested Fix:
The text was updated successfully, but these errors were encountered: