JaidedAI / EasyOCR

Ready-to-use OCR with 80+ supported languages and all popular writing scripts including Latin, Chinese, Arabic, Devanagari, Cyrillic and etc.
https://www.jaided.ai
Apache License 2.0
24.42k stars 3.16k forks source link

BadZipFile error #481

Closed Miaoqi-2010 closed 3 years ago

Miaoqi-2010 commented 3 years ago

detection_error Hi Guy thanks for your great work! Recently, I am using your program to make a tookit with a snap and ouput GUI interface. but see the attached image please. I can run the whole program at home, but I can't do it in my office. I don't know what happened, could you please help me out? Thanks in advance.

SamSamhuns commented 3 years ago

Most likely an issue with the internet connection/firewall at your office that is causing issues with the model download.

Instead, you can download the models separately and put them in a local path in your project, and call easyocr.Reader(['en'], model_storage_directory=LOCAL_PATH_TO_MODEL_DIRECTORY)

Miaoqi-2010 commented 3 years ago

EXE_210706_00 EXE_210706 EXE_error_210706.txt Thanks for your response. After put the files in my local folder, now I can run my program successfully, see the first image please, It looks very great! But after that, I when I try to create a EXE file for it, Pyinstaller failed to make it, see the second image and attached txt(copied for the Pyinstaller window). I don't know how do now, it is really out of my ability. So I just attached all that and I don't know if the informations could be usefull for your guy works in some way. Thanks a lot, cheers.

rkcosmos commented 3 years ago

I'm going to close this issue because creating EXE file is out of this repo scope. :)