#940670 tesseract-ocr-ita: ita.traineddata does not work

#940670#5
Date:
2019-09-18 19:40:28 UTC
From:
To:
Dear Maintainer,

the following command:

  tesseract list.txt mypage -l ita --oem 2

fails with the following error:

Failed loading language 'ita'
Tesseract couldn't load any languages!
Could not initialize tesseract.


A little bit of googling got me to [1]
As suggested, I've tried the following:

  wget https://github.com/tesseract-ocr/tessdata/raw/4.00/ita.traineddata

and copied it to /usr/share/tesseract-ocr/4.00/tessdata

it now works.

Regards,
Davide

[1] https://www.mail-archive.com/tesseract-ocr@googlegroups.com/msg15127.html
[2] https://github.com/tesseract-ocr/tesseract/wiki/Data-Files

#940670#10
Date:
2019-09-19 08:20:11 UTC
From:
To:
hi.
The tesseract-ocr-ita package uses language packages from tessdata_fast
<https://github.com/tesseract-ocr/tessdata_fast> that do not support the
legacy recognizer.
The language pack you downloaded from tessdata
<https://github.com/tesseract-ocr/tessdata> supports the legacy recognizer
and LSTM models.

ср, 18 сент. 2019 г. в 22:45, Davide Viti <zinosat@gmail.com>: