A shipping label is useless in a search if the tracking number has one wrong character, and OCR often confuses 0 with O and 1 with I in tracking codes. This guide checks the three key fields on one label against the printed label.
Prerequisites
A scanned shipping label PDF and an OCR tool. The label carries a delivery address, so keep the copy private.
Steps
1. Run OCR on the label
Run OCR on the label and save the searchable copy. Expected result: the tracking number, postcode and weight become selectable text.
2. Read the tracking number character by character
Read the tracking number from the OCR text and compare it with the printed code, character by character. Expected result: every character matches, including letters that look like digits.
3. Check the postcode and weight
Read the postcode and the weight from the OCR text and compare them with the printed label. Expected result: the postcode matches and the weight is 2.40 kg.
4. Record the result for filing
Record whether the label passed or which field needs correcting before filing. Expected result: a note that names the field or confirms the label passed.
Practice check: fictional parcel label, 2026-11-06
The table below is fictional practice material. It lists the three fields on one shipping label.
| Field | As printed |
|---|---|
| Tracking number | GB4829105734 |
| Postcode | LS4 2QT |
| Weight | 2.40 kg |
Expected result. the OCR text matches the printed label on all three fields: tracking number GB4829105734, postcode LS4 2QT and weight 2.40 kg.
Limits
- A tracking number that looks right can still be wrong if OCR swapped a letter for a digit, so check it against the carrier site when the parcel matters.
- 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.
- Tesseract OCR Documentation, output formats – Tesseract supports plain text, searchable PDF, hOCR, TSV, ALTO and PAGE output; –psm sets the page segmentation mode. Checked 2026-11-29.
