tesseract-ocr / tesseract

Tesseract Open Source OCR Engine (main repository)
https://tesseract-ocr.github.io/
Apache License 2.0
61.72k stars 9.45k forks source link

Language assert error (lstm_recognizer_->Deserialize(&fp)...line 193) #2988

Closed ertankucukoglu closed 4 years ago

ertankucukoglu commented 4 years ago

Environment

Current Behavior:

C:\Program Files (x86)\Tesseract-OCR>tesseract.exe --list-langs
List of available languages (4):
eng
equ
osd
tur

C:\Program Files (x86)\Tesseract-OCR>tesseract.exe c:\Users\Ertan\Desktop\Capture.PNG c:\Users\Ertan\Desktop\Capture.txt -l tur -psm 3
lstm_recognizer_->DeSerialize(&fp):Error:Assert failed:in file ../../../../ccmain/tessedit.cpp, line 193

C:\Program Files (x86)\Tesseract-OCR>tesseract.exe c:\Users\Ertan\Desktop\Capture.PNG c:\Users\Ertan\Desktop\Capture.txt -l eng -psm 3
Tesseract Open Source OCR Engine v4.00.00alpha with Leptonica

C:\Program Files (x86)\Tesseract-OCR>tesseract.exe c:\Users\Ertan\Desktop\Capture.PNG c:\Users\Ertan\Desktop\Capture.txt -psm 3
Tesseract Open Source OCR Engine v4.00.00alpha with Leptonica

(Problem is in the Turkish output request, second command from top)

Expected Behavior:

No errors to be produced as it is listed Turkish in available languages.

zdenop commented 4 years ago

Please use the latest code when reporting issue. Using version from 2016 in 2020 is not useful.

ertankucukoglu commented 4 years ago

Where can I download latest code compiled for Windows? I got my copy from here: https://github.com/tesseract-ocr/tessdoc/blob/master/Downloads.md

Shreeshrii commented 4 years ago

Use the latest version linked from https://github.com/UB-Mannheim/tesseract/wiki

stweil commented 4 years ago

See also issues #1680.