You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I taken the example python batch processing script) and enhance it actually. I like to add text to all PDF files stored on my NAS. To have a fallback I like to archive the original only if it will be changed from ocrmypdf...how that could be achieved? I did not find a setting in the API for this....
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I taken the example python batch processing script) and enhance it actually. I like to add text to all PDF files stored on my NAS. To have a fallback I like to archive the original only if it will be changed from ocrmypdf...how that could be achieved? I did not find a setting in the API for this....
Thinking about using
OCRmyPDF/src/ocrmypdf/pdfa.py
Lines 109 to 130 in e7eb8fa
Cheers,
Nils
Beta Was this translation helpful? Give feedback.
All reactions