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

Text detection is failed (EasyOCREngine) #125

Open
kkkuraga opened this issue Apr 30, 2024 · 4 comments
Open

Text detection is failed (EasyOCREngine) #125

kkkuraga opened this issue Apr 30, 2024 · 4 comments

Comments

@kkkuraga
Copy link

Hello, in the new version 0.9.6 I encountered a problem: Text detection is failed (EasyOCREngine)
I reinstalled the program several times, it didn’t help, I looked for a solution to this problem from other users, but unfortunately the problem remained
Win10Pro
CPU AMD Ryzen 7 4800H
RAM 8GB
I will attach logs
log20240430.txt

@PSR2144-3933
Copy link

i met a similar problem
log20240715.txt
neither reinstall pytorch/easyocr/vcredist nor restart Translumo works

@PSR2144-3933
Copy link

btw each time i turn off and turn on EasyOCR in text recognition "Required python module are not installed" appears
after the install completed, a error would appear in log
01:38:41.961 [ERR] EasyOCR initialization error
Python.Runtime.PythonException: [WinError 126] The specified module could not be found. Error loading "D:\Utility\Translumo-v.0.9.6\Python\lib\site-packages\torch\lib\shm.dll" or one of its dependencies.
File "D:\Utility\Translumo-v.0.9.6\Python\lib\site-packages\torch_init_.py", line 143, in
raise err
File "D:\Utility\Translumo-v.0.9.6\Python\lib\site-packages\easyocr\recognition.py", line 2, in
import torch
File "D:\Utility\Translumo-v.0.9.6\Python\lib\site-packages\easyocr\easyocr.py", line 3, in
from .recognition import get_recognizer, get_text
File "D:\Utility\Translumo-v.0.9.6\Python\lib\site-packages\easyocr_init_.py", line 1, in
from .easyocr import Reader
at Python.Runtime.PythonException.ThrowLastAsClrException()
at Python.Runtime.NewReferenceExtensions.BorrowOrThrow(NewReference& reference)
at Python.Runtime.PyModule.Import(String name)
at Python.Runtime.Py.Import(String name)
at Translumo.Infrastructure.Python.PythonEngineWrapper.Import(String libName)
at Translumo.OCR.EasyOCR.EasyOCREngine.b__22_0()
at Translumo.Infrastructure.Python.PythonEngineWrapper.<>c__DisplayClass5_0.b__0()
at Translumo.Infrastructure.Python.PythonEngineWrapper.Execute[T](Func`1 func)
at Translumo.Infrastructure.Python.PythonEngineWrapper.Execute(Action action)
at Translumo.OCR.EasyOCR.EasyOCREngine.InitializeObjects()
at Translumo.OCR.EasyOCR.EasyOCREngine.EnsureInitialized()

@PSR2144-3933
Copy link

nah symbolic link to another python install don't work
really need support

@PSR2144-3933
Copy link

(EasyOCR is still ticked when this exception happens
QQ_1720980094892

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

2 participants