A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/tesseract-ocr/tesseract/issues/4390 below:

whsize must be >= 2 · Issue #4390 · tesseract-ocr/tesseract · GitHub

Current Behavior

I'm processing a bunch of PDF images and sometimes I get the error:

Error in pixSauvolaBinarizeTiled: whsize must be >= 2
Error during processing.

The command line is the following:

tesseract.exe err.png stdout -c thresholding_method=2 --psm 11 -l eng+ita

This is one of the images that produce the error:

Expected Behavior

I'm expecting the program not not produce an error, instead it should produce an empty result with exit code = 0

Suggested Fix

No response

tesseract -v

tesseract v5.5.0.20241111
leptonica-1.85.0
libgif 5.2.2 : libjpeg 8d (libjpeg-turbo 3.0.4) : libpng 1.6.44 : libtiff 4.7.0 : zlib 1.3.1 : libwebp 1.4.0 : libopenjp2 2.5.2
Found AVX2
Found AVX
Found FMA
Found SSE4.1
Found libarchive 3.7.7 zlib/1.3.1 liblzma/5.6.3 bz2lib/1.0.8 liblz4/1.10.0 libzstd/1.5.6
Found libcurl/8.11.0 Schannel zlib/1.3.1 brotli/1.1.0 zstd/1.5.6 libidn2/2.3.7 libpsl/0.21.5 libssh2/1.11.0

Operating System

Windows 10

Other Operating System

No response

uname -a

No response

Compiler

No response

CPU

12th Gen Intel(R) Core(TM) i3-12100

Virtualization / Containers

No response

Other Information

No response


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4