Optical Character Recognition (OCR)

Last Updated: July 29, 2026 | By Mihail Sebastian | AI Dictionary

Technology that converts text in images (scans, photos, PDFs) into machine-readable characters, turning static documents into searchable, editable data.

What is Optical Character Recognition (OCR)?

Optical character recognition (OCR) is technology that converts text in images, such as scanned pages, photos, and PDFs, into machine-readable characters. The output stops being a picture and becomes data that software can search, edit, and process.

OCR is one of the oldest computer vision tasks in production use; postal services were machine-reading addresses decades before deep learning existed.

How OCR Works

  1. Preprocessing: The image is straightened, denoised, and contrast-adjusted so characters stand out from the background.
  2. Text detection: The system locates the regions that contain text and splits them into lines and words.
  3. Recognition: A trained model maps character shapes to characters; modern systems use neural networks that read whole lines at once.
  4. Postprocessing: A dictionary or language model corrects near-misses, such as a letter “l” read as the digit “1.”

Applications of OCR

Example of OCR

An accounts-payable system receives a scanned invoice. OCR extracts the vendor name, invoice number, line items, and total, and attaches a confidence score to each field.

Software matches the extracted total against the purchase order automatically. Any field below the confidence threshold routes to a person for review – a standard human-in-the-loop design, because an “8” misread as a “3” in an amount is a financial error, not a cosmetic one.

Related AI terms: Computer Vision · Image Recognition · Object Detection · Natural Language Processing

Did you like the Optical Character Recognition (OCR) gist?

Learn about 250+ need-to-know artificial intelligence terms in the AI Dictionary.

Mihail Sebastian — Writes about AI governance, regulation, and the technology behind them. Placeholder bio — replace with a real credential line. About

Read the Governor's Letter

Stay ahead with Governor's Letter, the newsletter delivering expert insights, AI updates, and curated knowledge directly to your inbox.

By subscribing to the Governor's Letter, you consent to receive emails from AI Guv.
We respect your privacy - read our Privacy Policy to learn how we protect your information.

Browse All AI Terms A–Z

Every term in the dictionary, in alphabetical order. Jump to a letter or scroll the full list.

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z