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

Need to know : how to use this script #11

Open
HarshPrajapati2309 opened this issue May 17, 2024 · 7 comments
Open

Need to know : how to use this script #11

HarshPrajapati2309 opened this issue May 17, 2024 · 7 comments

Comments

@HarshPrajapati2309
Copy link

I am trying to use this script but couldnt find the way

@jbarlow83
Copy link
Contributor

Did you follow the instructions in the README?
If that succeeds, ocrmypdf and this plugin will be installed.

@sliedes
Copy link

sliedes commented Jun 20, 2024

I think the question may be about how to use this with OCRmyPDF; i.e. yes, it's installable, but how to run OCRmyPDF with it without running into NotImplementedError: EasyOCR does not support hOCR output.

And I suspect the answer may be to use the OCRmyPDF option --pdf-renderer sandwich?

@jbarlow83
Copy link
Contributor

Yes, you need to use --pdf-renderer sandwich.

@sliedes
Copy link

sliedes commented Jul 4, 2024

BTW, I made a PR to EasyOCR that adds hOCR output (though didn't test it with this plugin): JaidedAI/EasyOCR#1275

@jbarlow83
Copy link
Contributor

@sliedes Can you contribute your hOCR change here since EasyOCR doesn't seem to merge many PRs?

@sliedes
Copy link

sliedes commented Aug 30, 2024

@sliedes Can you contribute your hOCR change here since EasyOCR doesn't seem to merge many PRs?

Certainly! Do you need me to open the PR here, or can you just pick it from the EasyOCR repository?

@jbarlow83
Copy link
Contributor

Please open a PR here - that would be great, thank you!

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

3 participants