-
Notifications
You must be signed in to change notification settings - Fork 374
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
Tess4j - Error opening tessdata file by non-ASCII path #190
Comments
The error is pretty clear: you can't have non-ASCII characters in |
@nguyenq thanks for the feedback! Could you provide a but more context here? Like if the root cause is on the Tesseract side or on the wrapper side, are there any workarounds available or any plans to support non-ASCII paths? |
It could be JNA or it could be inside Tesseract native code. On Linux, Tesseract and its On Windows, you may want to try with a relative path without containing non-ASCII characters to see if it would work. Maybe related to Issue #75. |
Failure may happen when non-ascii exist in either source filename, data files names, or target filename. You are right that the reason may be at java side when it handle filename with local API. |
OS: Windows 10
IDE: IntelliJ
tess4j: 4.5.1
I have two folders on my disc with equal 'eng.traineddata' files:
And tesseract fails while running next code:
Error message:
The text was updated successfully, but these errors were encountered: