depois de sudo port selfupdate
, sudo port install leptonica
e sudo port install tesseract
Eu tenho o que parecem ser sérias deficiências. O Tesseract nem reconhece arquivos .tiff!
pro:Images me$ tesseract textcrop.tiff textcrop
Tesseract Open Source OCR Engine v3.02 with Leptonica
Error in findTiffCompression: function not present
Error in pixReadStreamTiff: function not present
Error in pixReadStream: tiff: no pix returned
Error in pixRead: pix not read
Unsupported image type.
pro:Images me$ otool -L `which tesseract`
/usr/local/bin/tesseract:
/usr/local/lib/libtesseract.3.dylib (compatibility version 4.0.0, current version 4.2.0)
/usr/local/lib/liblept.2.dylib (compatibility version 3.0.0, current version 3.0.0)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 159.1.0)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 52.0.0)
Estou executando o OS X 10.8.4. Eu tentei limpar e reinstalar a leptonica e o tesseract sem resultados.