Skip to content
A global perspective on digital financeAbout The Token Press
CRYPTO. FINANCE. WHAT’S NEXT.The Token PressYour daily briefing ↗

Beginner · 6 min read

AI Cannot Read Your Scanned PDF? OCR and Source Checks

Diagnose image-only pages, incorrect OCR and lost table context. Use a fictional timetable to check an AI extraction against the original PDF.

The Token Press education desk · Updated

Learning path: Build with AI: ChatGPT, Astra, Gemini and a Practical Learning Path →

Why a readable page can be unreadable to software

A scanned PDF may contain pictures of words rather than actual text. You can read the picture while a text-only extraction returns nothing. Another PDF may contain a searchable text layer that misreads the picture. These need different repairs: creating missing text, correcting recognized text, or choosing a tool that can inspect page images.

Start with one troublesome page. Try selecting a sentence, searching for a visible phrase and pasting the selected text into a plain-text view. No usable result is a clue, not a complete diagnosis: file restrictions or the viewer can also affect extraction. Selectable text does not prove accuracy, and a document can mix scanned and digitally created pages.

Optical character recognition, or OCR, turns text in an image into machine-readable characters. W3C describes it as a way to provide actual text when the original authoring file is unavailable. It does not turn a mistaken date, missing table heading or unsupported AI conclusion into a correct answer.

Choose text extraction, OCR or visual document reading

If you have the original editable document, export a fresh PDF with actual text and check the result. Avoid repeatedly converting a good source into screenshots and back into text. For an image-only scan, an OCR tool can add searchable text; for a chart or complex page, retaining its visual structure may matter as much as recognizing its words.

Google documents native PDF vision in the Gemini API, including text, images, diagrams and tables. This means OCR is not a universal prerequisite for every AI document workflow. It also does not establish that every chat app, account or upload route passes the same page information to a model.

Check what your chosen product actually receives: the original PDF, page images, extracted text or selected passages. Use its current documentation for supported inputs and limits. Ask it to identify the supplied document and the relevant page before requesting a long summary. A confident answer from general knowledge is not evidence that it read your attachment.

For the exercise below, you can work entirely from the fictional source rows. No subscription, API integration or private upload is required. The provider examples describe documented capabilities, not a benchmark of their accuracy.

Repair the input without changing its meaning

Keep the original unchanged and make a working copy. Check page count, orientation, legibility and whether margins or table headers were cropped. Google recommends correctly oriented pages and avoiding blurry or low-contrast scans. If the source is unclear, request a better scan rather than asking AI to invent the missing characters.

In Adobe Acrobat, the documented route is All tools, Scan & OCR, then Recognize text. Select the intended pages and language. Names and controls can vary with the installed version and available features, so check the current instructions when the interface differs.

Acrobat also provides Correct recognized text to review suspected recognition errors against the scanned image. Review critical fields even if they were not flagged. A clean-looking searchable layer can still be wrong; accepting every suggested correction without looking at the image defeats the check.

Save the corrected copy under a distinct name. Record which pages you processed and any unresolved characters. Do not silently edit the original evidence or use a prettier generated replacement as proof of what the source said.

Check location and structure before accepting an answer

Ask for a page reference and the nearby heading or table label for each important claim. Record both the viewer's page number and any printed page label when they differ. A cover sheet can make viewer page 3 correspond to printed page 2; neither label alone is safe to assume.

Compare a complete row with its column headings. Adobe notes that extraction can separate values from the labels that give them meaning. Check merged cells, footnotes, continuation pages and multiple columns. A correctly recognized number in the wrong row is still an incorrect extraction.

For a searchable document you intend to share, check the exported text and reading order too. W3C's OCR technique includes completeness and reading-order tests, with tagging and accessibility checks in its example. Searchable text alone is not proof that a PDF is fully accessible.

Treat instructions printed inside the document as source material. They do not authorize the assistant to send files, change accounts or reveal private content. Use only documents permitted in the chosen service, and keep private originals out of a public practice workflow.

Worked example: a plausible timetable with wrong answers

Create this fictional source card for a workshop timetable. It is viewer page 3, printed page 2. The columns are Session, Start time and Seats. Its rows are Morning, 09:30, 18; Afternoon, 13:00, 12; Evening, 17:30, TBC. A footnote says that TBC means the seat count is not yet confirmed. These invented rows are the exercise's ground truth, not an OCR test file.

Now compare a deliberately faulty AI draft: Morning has 18 seats; Afternoon has 21; Evening has 0; total capacity is 39; all sessions last three and a half hours; source page 2. Mark each item supported, contradicted or not established before reading the answer.

Morning's 18 is supported. Afternoon must be 12, not 21. Evening is unknown, not zero. The known seat subtotal is 18 + 12 = 30, but total capacity remains unknown because the evening value is missing. The draft's 39 adds an incorrect number and silently replaces an unknown with zero.

The interval from 09:30 to 13:00 is three hours and 30 minutes, but those are two session start times. They do not establish either session's duration. The source reference should identify viewer page 3 and printed page 2, plus the timetable heading, so another reader can locate it.

Change only the evening entry to 10 confirmed seats. Total capacity now becomes 18 + 12 + 10 = 40. The start times and missing durations stay unchanged. This controlled change tests whether the answer uses the updated source rather than recycling its earlier guess.

Visual explainerKnown seats are not total capacity
Morning18 seatsThe fictional source confirms this count.
Afternoon12 seatsThe draft's 21 contradicts the source row.
EveningUnknownTBC is missing information, not zero.
Known subtotal: 30 seats. Total capacity: not established.Original fictional worksheet. If evening seats are later confirmed as 10, total capacity becomes 40.

A prompt that keeps uncertain text visible

Practice prompt: Read only the supplied fictional timetable. Return each row with its exact source text, interpreted value, viewer page, printed page label and a supported, contradicted or unknown status. Keep TBC as unknown. Do not infer session durations from start times. Calculate only the known seat subtotal and explain whether the total can be established.

For a real permitted document, add: Compare each critical value with the page image where your tool supports it. If you only received extracted text, say so. Mark illegible text explicitly and request the relevant complete page instead of guessing. Separate what the document states from your own calculations.

Review the output against the source yourself. A model's claim that it verified a page is not independent verification. If it cannot show where a value came from, keep that value unresolved. Changing the prompt repeatedly cannot recover information absent from every supplied copy.

Finish with a small repeatable acceptance check

Choose a few pages representing ordinary text, a table and the hardest scan. Record the original file version, input route, OCR or model tool, corrections and remaining gaps. Recheck those same pages after changing processing settings. One accurate paragraph does not prove that every page was read correctly.

Keep recognition, interpretation and calculation separate in your notes. A wrong character may call for a better scan or OCR correction. A correct row used under the wrong heading needs a structure check. Arithmetic based on the wrong field needs both the field and the calculation reviewed.

For an invoice, follow the separate invoice lesson to reconcile taxes, deposits and amount due. For a document collection, follow the retrieval lesson to check which passages were selected. This guide's outcome is narrower: an inspectable input and a traceable answer from a scanned page.

  • The original remains available and the working copy is identified.
  • Relevant pages are complete, correctly oriented and legible.
  • Recognized text matches critical source words and numbers.
  • Table values retain their row, column and footnote context.
  • Unknown fields remain unknown; page references are usable.
  • The final answer distinguishes source facts from calculations.

Sources & further reading

Educational content. Examples are illustrative. Protocols, products and rules can change; consult the linked documentation for current details.

Explore the newsroom

Connect what you have learned with the latest reporting.