Open HarshPrajapati2309 opened 4 months ago
Did you follow the instructions in the README? If that succeeds, ocrmypdf and this plugin will be installed.
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
?
Yes, you need to use --pdf-renderer sandwich
.
BTW, I made a PR to EasyOCR that adds hOCR output (though didn't test it with this plugin): https://github.com/JaidedAI/EasyOCR/pull/1275
@sliedes Can you contribute your hOCR change here since EasyOCR doesn't seem to merge many PRs?
@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?
Please open a PR here - that would be great, thank you!
I am trying to use this script but couldnt find the way