30 Shipping Labels: OCR with Clipped Fields

Read tracking numbers and addresses from 30 PDF labels, including pages with missing bottom sections.

intermediate

Difficulty Level

2-3 hours

Estimated Time

Topics & Skills

shippingocrjsondata-validation

Getting Started

Open the dataset folder below, grab the files, and read through the challenge. Try to solve the problem yourself before looking at the solution!

Dataset Files

Open Dataset Folder on SharePoint

Browse the folder and download the files listed in the challenge.

Scenario & Problem Statement

The challenge


Turn these shipping labels into a manifest. Some PDF pages leave out fields that appear in the JSON answers, so keep track of what you can read and what's missing.


Start here


Open the SharePoint folder linked above. shipping_labels_1757230798842.pdf has 30 pages, one label per page. shipping_labels_1757231335519.json has 30 answer records. Start with page one: it has no selectable text, so it needs OCR.


Render page one at full-page size. Its tracking number is printed near the top and again under the barcode. Its bottom is clipped before the weight/date area that appears in the related image-label collection. Inspect further pages to determine which fields are visible on each, rather than assuming every reference field can be OCRed.


Try it


1. Extract company, service, tracking number, sender, and receiver without mixing the address blocks.

2. Preserve leading-zero and ZIP+4 postal codes and handle wrapped city names.

3. Compare predictions against the reference by tracking number, separating visible-field accuracy from answer-assisted completion.

4. Summarize service mix and the clean reference's noise and package-weight distributions.


What to build


Build a JSON array or flattened manifest CSV, a page-to-tracking-number map, and a validation report identifying missing visible fields. Add source_page and review_status to every result.


Related Datasets

ACME Million: Stream Nested Sales Data and Audit Its Metadata

Work through a million sales records in small batches, check loyalty discounts, and spot mistakes in the summary.

retailbig-datajson+1

Cat Gacha: Clean Contaminated Logs and Estimate Pull Probabilities

Clean up game pull logs, remove repeated snapshots, and estimate how often each cat appears.

jsondata-cleaningprobability+1

Transaction Network 1: Join Users, Accounts, and Money Flows

Connect users, accounts, and transactions to explore a payment network and flag activity worth a closer look.

transactionsgraph-analysiscsv+1

Finished with this dataset?

Explore more datasets to continue building your data analysis and problem-solving skills.

Browse More Datasets