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

Adding different dewarping algorithm as external option #118

Open
maximka1812 opened this issue Nov 17, 2022 · 0 comments
Open

Adding different dewarping algorithm as external option #118

maximka1812 opened this issue Nov 17, 2022 · 0 comments

Comments

@maximka1812
Copy link

maximka1812 commented Nov 17, 2022

I experimented with different dewarping algorithms and how they work if you want mostly automatic high quality result

This one turned out the best for now:

Note that this code work with native resolution during transformation and also makes binarization always.
Instead I use 2x bicubic upsampling for input and output grayscale version.

Idea can be to allow ST to be able to call external software (may be Windows only) for processing page (as external file) on early stage right before making page angle adjustments.

Note that referenced dewarping also usually correctly turns the page.

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

No branches or pull requests

1 participant