Closed Helyux closed 6 years ago
Can you try the following please:
C:\>tesseract test.jpg out
(...)
C:\>echo %ERRORLEVEL%
?
Sure:
C:\>tesseract test.jpg out
Tesseract Open Source OCR Engine v4.00.00alpha with Leptonica
Warning. Invalid resolution 0 dpi. Using 70 instead.
C:\>echo %ERRORLEVEL%
0
And above the Python error message, you have no other message ?
Well Full Traceback would be:
Traceback (most recent call last):
File "C:\Users\dummy\Desktop\_Core.py", line 247, in ocrpdf
params = OcrPDF.ocr(qpath)
File "C:\Users\dummy\Desktop\OcrPDF.py", line 68, in ocr
builder=pyocr.builders.TextBuilder()
File "C:\Program Files (x86)\Python36-32\lib\site-packages\pyocr\tesseract.py", line 367, in image_to_string
raise TesseractError(status, errors)
pyocr.error.TesseractError: (3221225477, b'')
Which shouldn't be relevant.
Hmm. The only thing clear here is that Tesseract return an error (error code != 0) with no output at all on stdout/stderr. The error code returned is 3221225477 --> 0xC0000005 : ACCESS_VIOLATION. In other words, Tesseract has crashed.
I cannot figure out anything more at this point.
Anyway, AFAIK Tesseract 4.00 is still alpha. Have you tried with Tesseract 3.05.xx ?
Found a mistake on my side, am deeply sorry!
For anyone wondering: I didn't notice i've installed Tesseract (unofficial installer for windows for Tesseract 4.00-dev) in the (new) 64 Bit Version.
No problem
Hello, any Idea what the following error means? i didn't find anything except this which didn't help me narrow it down.
Code Snippet:
The corresponding Error:
I tested the general functionality of tesseract and it works as expected.
Im running:
Any help would be appreciated.