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

fix issue #3940 - remove colormap before thresholding #3942

Merged
merged 1 commit into from
Oct 19, 2022

Conversation

zdenop
Copy link
Contributor

@zdenop zdenop commented Oct 14, 2022

Maybe code for colormap removal could be simplified to original = pixConvertTo8(original.copy(), false); but I decided to stick to original code (in SetImage).

This change works for me for images in issues #3940 and #3092 and for thresholding_method 0,1,2.

@zdenop zdenop merged commit c039bba into tesseract-ocr:main Oct 19, 2022
@amitdo
Copy link
Collaborator

amitdo commented Oct 21, 2022

Unfortunately, this patch causes even worst regression. Many of the CI jobs fails.

@amitdo
Copy link
Collaborator

amitdo commented Oct 23, 2022

commit 14e2517 fixed the issue detected by ASan. There are still a memory leak issue and failed tests.

@stweil
Copy link
Contributor

stweil commented Oct 24, 2022

The failed unit tests are hopefully fixed now.

@stweil
Copy link
Contributor

stweil commented Oct 24, 2022

Note that restarting the GitHub action uses the same old code as in the previous run and will fail again, so restarting only helps for temporary failures (network timeouts, ...). So we have to wait for the next regular action trigger.

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

Successfully merging this pull request may close these issues.

None yet

4 participants