Menu prices are short numbers next to dish names, and OCR can attach a price to the wrong dish when the layout is tight. A price list built from that output charges the wrong amount. This guide checks five dishes and their prices on one menu page.
Prerequisites
A scanned menu PDF and an OCR tool. Use a menu you have the right to reuse.
Steps
1. Run OCR on the menu page
Run OCR on the menu page and save the searchable copy. Expected result: dish names and prices become selectable text.
2. Read the five dishes and prices
Read each dish with its price from the OCR text, in menu order. Expected result: five dishes, each with one price.
3. Add the prices and compare with a test order
Add the five prices to get the cost of one of each dish. Expected result: the five prices add to 47.35.
4. Record any dish with a wrong price
Record any dish whose OCR price differs from the printed menu. Expected result: a note that names the dish or confirms the page passed.
Practice check: fictional Maple Corner lunch menu, 2026-11-07
The table below is fictional practice material. It lists five dishes and their prices.
| Dish | Price |
|---|---|
| Tomato soup | 6.50 |
| Garden salad | 7.25 |
| Grilled chicken | 12.80 |
| Pasta plate | 11.40 |
| Fruit tart | 9.40 |
| Total | 47.35 |
Expected result. the five prices add to 47.35, and each price sits next to the right dish in the OCR text.
Limits
- OCR can read a price correctly and still attach it to the dish above or below it, so check the pairing, not just the numbers.
- 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.
