Tax forms are identified by their boxes: a figure in the wrong box is a different fact, even when the digits are right. OCR can also merge two adjacent boxes into one line. This guide checks four boxes on one form page against the printed values.
Prerequisites
A scanned tax form PDF and an OCR tool. Tax forms carry sensitive personal data, so work on a private copy.
Steps
1. Run OCR on the form page
Run OCR on the form page and save the searchable copy. Expected result: the box labels and figures become selectable text.
2. Read the four box figures
Read the figure for each of the four boxes from the OCR text, keeping the box number with each figure. Expected result: four figures, each attached to the right box number.
3. Compare each figure with the printed form
Compare each OCR figure with the same box on the scan image. Expected result: all four figures match the printed form digit for digit.
4. Record mismatches by box number
Record any box where the OCR figure differs, with the correct figure from the image. Expected result: a note that lists the wrong boxes or confirms all four passed.
Practice check: fictional tax form page, boxes 1 to 4, 2026-11-05
The table below is fictional practice material. It lists four boxes and the figures they must hold.
| Box | Figure |
|---|---|
| Box 1 | 18400.00 |
| Box 2 | 2410.50 |
| Box 3 | 860.00 |
| Box 4 | 320.75 |
Expected result. all four OCR figures match the printed form: box 1 holds 18400.00, box 2 holds 2410.50, box 3 holds 860.00 and box 4 holds 320.75.
Limits
- OCR can read a figure correctly and still attach it to the wrong box when boxes sit close together, so check the box number with every figure.
- UNTESTED – no OCR tool or AI tool was run; all results above are expected results. The practice file is fictional.
Sources
- Adobe Acrobat, Extract key data from scanned PDFs with OCR – Try to select a word first; OCR adds text you can search, select, copy and extract; tables can flatten, so compare totals with the original page. Checked 2026-11-29.
- OCRmyPDF Cookbook – –sidecar writes OCR text to a companion file; –output-type pdfa/pdf picks the output; –optimize shrinks the file; –mode strip removes the text layer. Checked 2026-11-29.
