Valerio Messina wrote:

try define TESSDATA_PREFIX as:
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,!
Msys2-users mailing list

Reply via email to