New Tool Radar

AI PDF

How to Check OCR Output for Vertical Text on a Scanned Page

Check whether OCR reads vertical text on a scanned page or scrambles it into nonsense.

Schematic illustration of a vertical text check: run OCR, find the three vertical labels, and read them from the image.

Vertical text runs down the side of a page, on book spines and table side headings, and OCR built for horizontal lines can read it bottom to top, or letter by letter in the wrong order. The check is to compare the vertical text with the printed page. This guide checks three vertical labels on one page.

Prerequisites

A scanned page with vertical text and an OCR tool. Note which way the vertical text reads before starting.

Steps

1. Run OCR on the page

Run OCR on the page with the default settings and save the text. Expected result: the page text becomes selectable, and the vertical labels may be scrambled.

2. Find the three vertical labels in the OCR text

Search the OCR text for the three labels. Expected result: one label reads correctly and two are scrambled.

3. Read the labels from the image

Read the three labels on the scan image, following the direction they run. Expected result: the labels read Confidential, Draft and Archive.

4. Record which labels OCR scrambled

Record every vertical label OCR misread. Expected result: a note that says two of the three vertical labels were scrambled.

Practice check: fictional scanned report page with three vertical margin labels

The table below is fictional practice material. It lists the three vertical labels and the direction each runs.

Label Direction
Confidential Bottom to top
Draft Bottom to top
Archive Top to bottom

Expected result. one of the three vertical labels reads correctly in the OCR text and two are scrambled; all three read clearly on the scan image.

Limits

  • Rotating the page can fix one vertical direction and break another, so a page with vertical text in both directions needs the labels checked by eye.
  • UNTESTED – no OCR tool or AI tool was run; all results above are expected results. The practice file is fictional.

Sources

See all