FeatureFuel
1

[Feature Request] Treat PDFs whose text is only an invisible OCR layer as scans

Source: paperless-ngx/paperless-ngx#14777 · opened by @benedikt-bartscher
AI usage Yes, AI tools helped write this request Description In auto mode a PDF counts as born-digital as soon as it has more than 50 characters of text, or is tagged. A scan that already carries an OCR layer, from the scanner or another OCR tool, also has text, so it counts as born-digital too. It gets no archive, keeps its existing (often poor) OCR text, and a remote OCR engine never sees it. PAPERLESS_ARCHIVE_FILE_GENERATION=always or PAPERLESS_OCR_MODE=force work around that, as noted in #13859, but they also reprocess every real born-digital PDF, which we want to keep untouched. It would help if the born-digital check told the two apart. OCR layers are drawn in text render mode 3 (invisible) over the page image, while born-digital text is visible. Proposal: if most of a PDF's text is invisible, treat it as a scan. Born-digital PDFs keep today's behaviour, and a scan with a small visible stamp still counts as a scan. This helps anyone whose scanners add their own OC…

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests