1
votes

when i run the exe then show the some errors in tesseract using opencv OCR. Tesseract : 4.0.0 Laptonica : 1.74.4 Libpng : Libpng1636 Zlib : zlib1211

I use the steps of github project i provide link of that : https://github.com/ghimiredhikura/Install-OpenCV-with-Tesseract-Windows#step-3-install-llpng-and-zlib

Error in pixReadMemTiff: function not present Error in pixReadMem: tiff: no pix returned Error in pixaGenerateFontFromString: pix not made Error in bmfCreate: font pixa not made Error in pixCreateHeader: width must be > 0 Error in pixCreateNoInit: pixd not made Error in pixCreate: pixd not made Error in pixGetData: pix not defined Error in pixGetWpl: pix not defined Error in pixSetYRes: pix not defined Error in pixGetDimensions: pix not defined Error in pixGetColormap: pix not defined Error in pixCopy: pixs not defined Error in pixGetDepth: pix not defined Error in pixGetWpl: pix not defined Error in pixGetYRes: pix not defined Error in pixClone: pixs not defined Please call SetImage before attempting recognition.

enter image description here

Please give me any suggestion about that errors. thanks in advance.

1

1 Answers

0
votes

You build leptonica without (lib)tiff support and based on error message you use tiff image as input... You can

  1. change image format that is supported by your leptonica build (e.g. to png)
  2. build leptonica with support of tiff (and other) image format