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

Introduce pdf.ocr.correct. #3

Merged
merged 15 commits into from
Oct 19, 2023
Merged

Introduce pdf.ocr.correct. #3

merged 15 commits into from
Oct 19, 2023

Conversation

koaning
Copy link
Contributor

@koaning koaning commented Oct 9, 2023

This PR adds a new pdf.ocr.correct recipe meant to allow the selected spans from pdf.image.manual to be ocr'ed by tessaract. There are limits to this approach, mainly explained here but as-is it's not an unreasonable feature.

prodigy_pdf/__init__.py Outdated Show resolved Hide resolved
prodigy_pdf/__init__.py Outdated Show resolved Hide resolved
@koaning koaning merged commit f7abd42 into main Oct 19, 2023
1 check passed
@koaning koaning deleted the pdf.ocr branch October 19, 2023 09:29
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

Successfully merging this pull request may close these issues.

2 participants