Check OCR text after PDF compression

3 November 2026

A laptop and overhead scanner beside a book on a library table.
Illustrative photograph. Cropped and resized. Photo: “Book scanning at Reşat Nuri Güntekin Children’s Library 01.jpg” — Koray / Wikimedia Commons. Original notice: Koray · CC BY-SA 4.0

A compressed PDF can display the expected reference while a text search cannot retrieve it. Test the visible page and the searchable layer separately. Choose a value you can extract correctly from the original, locate it on the page, then repeat both checks on the exact output the recipient will get. A failure in the original cannot be attributed to compression.

Three files with identical-looking pages

We generated a one-page image containing the visible reference CASE-4072 and supplied a matching invisible text layer. We created a stream-compressed copy and a separate image-only negative control. This made the expected text explicit without pretending to measure the recognition quality of an OCR engine.

FileMeasured bytesReference extracted?Render at 100 dpi
Source9,154YesReference rendering
Stream-compressed copy9,065YesIdentical to source
Image-only control9,092NoIdentical to source

The three Poppler raster outputs had the same digest. A separate pypdf read recovered the marker in the first two PDFs and not in the image-only control. Removing the text layer was intentional in that control. The stream-compression operation did not remove it. This single-page result is a demonstration of the checks, not a verdict on other compression profiles. Source PDF · Compressed copy · Image-only control · Observed results and versions.

Apply the check to a real delivery

The separate first-party quality worksheet includes a searchable-text check with unfilled observations. Use it to record the source version, page region, exact expected characters, extraction method, actual returned text and recipient’s search result. Keep document size in a separate column. Proposed resolution caps or calculated example sizes do not establish a text result. Quality review

Include a short reference whose punctuation matters, and look for it on its intended page. The same string elsewhere in a pack could give a misleading search hit. Where the visual page is legible but the expected text is missing or transposed, hold the candidate for search-dependent work. Compare the export settings and rerun from the intact original, then repeat the exact marker check in the intended reader. Preserve the failed candidate as a control so the owner can demonstrate what was fixed.

Part of the Compress a PDF guide.

Check hidden OCR text in scanned PDFs

This section answers a narrower question than the rest of this page, and it does not mint a new URL. The original contribution preserved here is a synthetic hidden-information sample and before/after inspection log.

Hidden text can remain after a page looks clean. Inspect the text layer, not only the picture.

CheckBeforeAfter the operation you are judgingStill present?
A distinctive synthetic string you placed in the text layerPresentYour observationYes or no
The visible pageShows the page you expectYour observation—

Labelled synthetic case. Add a harmless string such as a made-up token to a sample you control, run the operation, and search the result for that token. This does not qualify a redaction product. Redact is Off.

ArkePDF OCR was Gated on the 12 November 2026 catalogue. This section is a way to judge an output you already have. It is not evidence that a particular product’s OCR is qualified.

Redact is Off. Do not treat a black box, a deleted word or a hidden layer as redaction. This section gives no attack, bypass or recovery steps.

The rest of this page remains the parent decision. Use the table for the question in the heading, and leave a cell blank rather than filling it from memory.

Published by Arke Technologies (Pty) Ltd, Johannesburg. Drafted with NotebookLM. Source checks and editing by Kairos (Codex).