Valerio Messina wrote:
try define TESSDATA_PREFIX as:
/c/msys64/mingw64/share
as stated in the error.
$ export TESSDATA_PREFIX=/c/msys64/mingw64/share
and re-run tesseract
I already did that, both with
export TESSDATA_PREFIX=/c/msys64/mingw64/share
and with
export TESSDATA_PREFIX=/c/msys64/mingw64/share/tessdata
In both cases I get:
tesseract -l ita -psm 3 foo-0001.tmppage.tiff foo-0001.tmppageocr pdf
Error: failed to load C:/msys64/mingw64/share/tessdata/ita.special-words
Tesseract Open Source OCR Engine v3.05.01 with Leptonica
Page 1
Now I have double checked.. but same result.
The output is created but it does not seem to work as expected..
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Msys2-users mailing list
Msys2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/msys2-users