-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
Regression: gif not scraping in 5.2 that was OK in 5.1 #3940
Labels
Comments
What's the output of I want to see if the leptonica and gif libraries being used are exactly the same. |
|
@amitdo : that commit is not the problem: the input gif image has already an 8-bit depth, so it just makes a copy of it. |
ok. I got it: problem is causing Colormap. |
Explanation of problem/dilemma:
|
zdenop
added a commit
that referenced
this issue
Oct 19, 2022
fix issue #3940 - remove colormap before thresholding
stweil
added a commit
that referenced
this issue
Oct 24, 2022
Fixes: 95019a8 ("fix issue #3940 - remove colormap before thresholding") Signed-off-by: Stefan Weil <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
Current Behavior:
tesseract.exe
v 5.2 only scrapes top line (window title) from thisgif
image:Expected Behavior:
It should scrape all text.
Tesseract v5.1.0.20220510 worked as expected, and both 5.1 and 5.2 work as expected with this equivalent
png
image:Suggested Fix:
It might have something to do with a different DPI estimation: 5.2 estimates resolution 132, while 5.1 estimated 168. However, running 5.2 with
--dpi 168
does not seem to fix anything.The text was updated successfully, but these errors were encountered: