Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in pixSauvolaBinarizeTiled: whsize must be >= 2 #4390

Open
evga opened this issue Feb 24, 2025 · 0 comments
Open

Error in pixSauvolaBinarizeTiled: whsize must be >= 2 #4390

evga opened this issue Feb 24, 2025 · 0 comments

Comments

@evga
Copy link

evga commented Feb 24, 2025

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:

Image

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants