Optical Character Recognition (OCR)

Converting text in scans, images, or PDFs into machine-readable text.

One wrong character can hide a catalogue entry

A printed label in a fictional archive carries the identifier RC-108. A search for the box returns no results because the scan was transcribed as RC-1O8.

Read the image

The middle character in 108 is a zero. Compare it with a clearly printed zero elsewhere on the same sheet.

Check the transcription

The OCR output uses a capital O. That substitution may pass a spelling check because an identifier is rarely a dictionary word.

Correct the searchable record

Check the label against the accession register before editing the text. Keep the scan and a record of the correction. An expected pattern such as two letters followed by three digits can flag a suspect reading, but substituting digits automatically could corrupt a different series.

Limits and Improvements

OCR is not perfect. Accuracy drops with poor image quality, unusual fonts, low-resource languages, or handwritten notes. That is why OCR results often benefit from validation, human review, and downstream checks. In strong systems, OCR is treated as part of a larger document-understanding pipeline rather than a magic one-step solution.

Follow the idea

Layout analysis locates a label among other regions of a page.

Handwriting recognition addresses additional variation in pen strokes.

Examples in the AI guides

Related Yenra articles (4)

Source · Library of Congress guide to OCR words and layout

Return to Optical Character Recognition (OCR) in the A–Z glossary