-
Notifications
You must be signed in to change notification settings - Fork 227
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
program shutdown in tesseract step due to language files #45
Comments
These error messages don't originate from Audiveris java code, so we can assume they come from Tesseract C++ binary code. IIRC there is a caveat with TESSDATA_PREFIX. It is not meant to point to the language file directory but rather to the directory which contains the tessdata directory which in turns contains your language files. Or something like that :-) For example, see this issue tesseract-ocr/tesseract#221 |
@Bacchushlg |
Just one more question: I have just the 4 language files in the tessdata directory: deu, eng, fra and ita.traineddata |
@Bacchushlg Thanks! Please provide me with a detailed description on how did you install Tesseract language files (where are they located, where they came from etc.)
It depends on your targets. In the minimal configuration, only eng.traineddata + config files are required. For every further language in your scores, you'll need to add an appropriate OCR language. |
I found the reason for my problem: I had downloaded the actual .traineddata-files, which only work with tesseract version 4, while audiveris uses version 3. |
I'm glad you solved your problem!
Currently no, but we'll add one very soon because v5.1 is about to be released.
Left click on your "3" in the score, go to "Shape" palette in the panel to the the right, click on the pedal mark (𝆮) followed by a double-click on the TUPLET_THREE symbol. With a bunch of luck, your symbol will be converted to the desired tuple... |
I'll close this issue because the original problem has been solved. |
@Bacchushlg Doc should be available very shortly. Keep in mind however, that the training of classifiers is a bit more complex than plain end-user actions, but we'll address it as well. |
The tesseract step outputs errors:
Failed loading language 'fra'
Failed loading language 'eng'
read_params_file: parameter not found:
After this Audiveris shuts down with no additional errors.
I have tried several combinations: put the language file to a certain directory and set TESSDATA_PREFIX to this directory or create a directory "C:\Program Files (x86)\tesseract-ocr\tessdata" and put the language files there. I get the error in both cases.
The language files date from 15.01.2018.
The text was updated successfully, but these errors were encountered: