MellowKyler / pdfp

PDF Processor - a GUI for some common PDF operations.
https://pypi.org/project/pdfp
GNU Affero General Public License v3.0
2 stars 0 forks source link

Weird OCR #9

Open MellowKyler opened 1 month ago

MellowKyler commented 1 month ago

Python ocrmypdf oddly cropping things. Example:

Attempted with a variety of settings, including different optimization levels and toggling deskew on and off.

MellowKyler commented 1 month ago

adding back native package as fallback. have not made this compatible with progress bar yet. https://github.com/MellowKyler/pdfp/blob/ba78065ca6aefc1cc19dc00899bb1552d7042e99/pdfp/utils/command_installed.py c998bff

MellowKyler commented 1 month ago

https://fossies.org/linux/OCRmyPDF/misc/example_plugin.py https://ocrmypdf.readthedocs.io/en/latest/api.html https://github.com/ocrmypdf/OCRmyPDF/blob/main/docs/plugins.rst https://github.com/papermerge/OCRmyPDF_papermerge https://github.com/search?q=from+ocrmypdf+import+hookimpl&type=code

MellowKyler commented 1 month ago

ocr_logger -> plugin 3a276b8 2af774d