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

text flow split in OCR-ed documents #45

Open
myrmoteras opened this issue Aug 16, 2023 · 1 comment
Open

text flow split in OCR-ed documents #45

myrmoteras opened this issue Aug 16, 2023 · 1 comment
Assignees

Comments

@myrmoteras
Copy link

Why does GGI break OCRed text into chunks?

image
Fosberg and Bullock 1971 plantsOCR.pdf

@gsautter gsautter self-assigned this Aug 16, 2023
@gsautter
Copy link
Contributor

This is simply down to the distance between the words ... in the absence of a template, page structuring has to rely on a bunch of defaults, and those are optimized for printed text, not typewriter ... on top of that, the large line distance also means that lines don't cover each other's gaps in all too many places, and the few places where they do seem to work as intended ...

Meaning to say this simply is a very atypical document that defies the usual catches and defaults ... "Merge Blocks" should be an easy fix, though ... if we run into more typewriter documents, we might have to consider a dedicated set of defaults and somehow tell page structure detection to use that instead of the usual print-oriented defaults.

@myrmoteras myrmoteras changed the title text flow split text flow split in OCR-ed documents Aug 17, 2023
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

2 participants