A serial number is a code where one wrong character identifies a different item, and OCR confuses 1 with l, 0 with O and 8 with B. Adobe’s extraction guide warns to compare important numbers with the original image before reusing them, and a serial number is exactly that kind of value.
Use the practice file
A practice document, practice-serial-numbers.pdf. The file is fictional.
| Page | Content |
|---|---|
| 1 | Equipment list, 4 serial numbers |
| 2 | Warranty card: serial “SN-8842-ZT19” |
| 3 | Notes page, no serials |
Page 2 is the check page: the warranty serial is “SN-8842-ZT19”.
Check the serial numbers
Expected result. We checked the Tesseract manual and the Adobe Acrobat. We did not run any tool. The checks below are what to expect if the work is done correctly; run them yourself on the practice file.
1. Select the warranty serial
Drag across “SN-8842-ZT19” on page 2.
Expected result: The whole serial highlights as one token.
2. Copy and paste the serial
Copy it and paste it into a text file.
Expected result: The pasted text reads exactly “SN-8842-ZT19”, character for character.
3. Check the equipment list
Copy the four serials from page 1 the same way.
Expected result: All four paste back exactly as printed.
4. Search for the prefix
Use Find for “SN-“.
Expected result: 5 hits, matching the five visible serials.
Verdict table
| Check | Expected result | Pass? |
|---|---|---|
| Select the warranty serial | The whole serial highlights as one token. | — |
| Copy and paste the serial | The pasted text reads exactly “SN-8842-ZT19”, character for character. | — |
| Check the equipment list | All four paste back exactly as printed. | — |
| Search for the prefix | 5 hits, matching the five visible serials. | — |
Related guides: How to Use OCR Confidence Scores to Target Proofreading — How to Add a Searchable Text Layer to a Scanned PDF.
Limits
- Serials mix letters and digits, which is where OCR confuses them; compare character by character, because a spellchecker will not flag a wrong serial.
- OCR does not repair a bad scan: blur, skew and low contrast still produce errors, so check the words that matter against the visible page.
- UNTESTED — no OCR tool was run; all results above are expected results. The practice file is fictional.
Sources
- Tesseract manual, “tesseract(1) — command-line OCR engine” — Default language is English; -l takes 3-character ISO 639-2 codes, joined with + for several languages; –list-langs lists installed packs; –psm sets the page segmentation mode. Checked 2026-11-28.
- 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-28.
