-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
EasyOCR is not giving output and exiting before printing anything and also no error on console!!!! #1362
Comments
yes same issue with me, the code works fine on Colab with CPU setting but not on laptop |
and the worst part is, not giving any error !!! |
then how we solve this issue ?? there is no help on internet |
No idea, maybe you could try to reinstall your os. |
I'm not sure if it's related to this issue, but in my environment I've encountered a situation where it seems to hang inside |
please do tell us if you fix the issue. |
FYI, in my case, it appeared to hang when calling However, it doesn't always happen, and since the issue occurred with a certain PIL Image that didn't seem particularly problematic, I still don't really know the cause at this point. |
First and foremost, it appears to run without any issues on Linux. I was testing in an Apple M1 environment, and I observed the following behavior as far as my usage was concerned; The Python version did not seem to have a significant impact, so I will omit it for now (I actually conducted experiments using Python 3.9, 3.11, and 3.12.). Additionally, in my environment, the specific points where the program freezes seemed to vary slightly depending on the input data. Does it depend on the OS version?
Looking at these results, the OS version does not seem to be a major factor. Is there a potential issue with the CPU? Next, I conducted an experiment using Docker to run aarch64 Debian "bullseye" on Sequoia (15.3.1) + M1.
Based on this result, the fact that the CPU is M1 also does not seem to be a determining factor. While the cause remains unknown, in environments where the issue occurs, one possible workaround could be to use Docker or WSL2 on Windows, or Docker on Mac, to create a Linux environment and run EasyOCR within it. |
ok thanks for the info, lets see if i can run in docker, can you provide the docker file |
I will include the Dockerfile that I had ChatGPT generate based on what I needed and then manually refined it. I started the docker container, installed additional necessary libraries inside it, and tested an application including EasyOCR. The reason I am using Python 3.11 instead of the latest version is that, in addition to EasyOCR, I am also using an other library that is not yet compatible with Python 3.12.
|
When i run the code it just exiting halfway there not even giving output, please help me
my system config:
project structure:

input images:


code:
output:
The text was updated successfully, but these errors were encountered: