[tesseract-ocr/tesseract] Tesseract Master does not work with Leptonica 1.78.0 or Leptonica 1.79 (master). (#2707)

From: notifications@github.com
Domain: IP info github.com
MX-server: IP info out-6.smtp.github.com
Size: 2814 Bytes
Create: 2019-10-12
Update: 2019-10-12
Score: 0
Safe: Yes

Outbound domains: github.com |

Tesseract Master does not work with Leptonica 1.78.0 or Leptonica 1.79 (master).

Apparently, some Leptonica functions appear to be dropped in newer versions.

Does not work:

tesseract --version

tesseract 5.0.0-alpha-479-g247c
 leptonica-1.78.0 <<<<<<<<<<<<<<<<<<<<
  zlib 1.2.11
 Found AVX2
 Found AVX
 Found FMA
 Found SSE

./tesseract --version
tesseract 5.0.0-alpha-479-g247c
 leptonica-1.79.0 <<<<<<<<<<<<<<<<<<
  zlib 1.2.11
 Found AVX2
 Found AVX
 Found FMA
 Found SSE

tesseract test.jpg test

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
Tesseract Open Source OCR Engine v5.0.0-alpha-479-g247c with Leptonica
Error in pixReadStreamJpeg: function not present
Error in pixReadStream: jpeg: no pix returned
Error in pixRead: pix not read
Error during processing.

works:

tesseract --version
tesseract 5.0.0-alpha-479-g247c
 leptonica-1.75.3
  libgif 5.1.4 : libjpeg 8d (libjpeg-turbo 1.5.2) : libpng 1.6.34 : libtiff 4.0.9 : zlib 1.2.11 : libwebp 0.6.1 : libopenjp2 2.3.0

 Found AVX2
 Found AVX
 Found FMA
 Found SSE


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Want to protect your real email from messages like this? Use TempM email and be more secure on the internet.