Skip to content
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

[Bug] The program crashes when the OCR language is not english #657

Closed
tyrell-wallace opened this issue Oct 28, 2023 · 6 comments
Closed

Comments

@tyrell-wallace
Copy link

tyrell-wallace commented Oct 28, 2023

For the sake of organization, even though I've discovered this and #656 at the same time, I'm creating one issue ticket for each.

Basically, the program crashes whenever I try to OCR with a language that isn't English. I've tested it with Japanese, Chinese, German and Spanish, but I assume that might be the case for all languages.

This is the error that pops up:

"
Tesseract has aborted
Tesseract (the OCR engine) has aborted while recognizing text. This may occur if the used traineddatas are corrupt or incomplatible with the version of tesseract in use, or due to a bug in tesseract.

The stacktrace below may provide additional information about where the crash occurred.

Your work has been saved under C:\Users\User\glmageReader_crash-save.txt.
"

The generated .txt contains no data.

I'm using the x64 Portable on Windows 10 22H2.

@mxav1111
Copy link

It is working fine with hindi and sanskrit language so far. I have no issues with it.

@Kishlay-notabot
Copy link

@mxav1111 hi can I connect with you? I have some questions regarding this.

@mxav1111
Copy link

Not sure how can i help but feel free.

@Kishlay-notabot
Copy link

Ah sorry, i was not able to configure the program back then, I had a question that can we find a way to export cropped images from the app? Like if I run any PSM mode, i want the respective results to be cropped (line/ word) and saved as images.

@mxav1111
Copy link

mxav1111 commented Jan 14, 2024 via email

@manisandro
Copy link
Owner

Cannot reproduce with 3.4.2, please retest and reopen if still relevant. Also, in the event of a tesseract crash, there is not much I can do on gImageReader side, the issue would need to be reported to tesseract upstream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants