Hashlogics
Glossary

What is OCR?

A scanned invoice looks fine to a person and is invisible to every system downstream, until something reads the characters out of the pixels.

OCR (optical character recognition)

optical character recognitiontext recognition

OCR is software that detects text inside an image and converts it into machine-readable characters. It takes a scanned page, a photo or a PDF with no selectable text. It outputs a string you can search, copy or feed into another system.

A classical OCR engine works in stages. It finds the regions of an image that look like text, segments them into individual characters, and matches each shape against a trained character set. Tesseract, the open-source engine most products are built on, still works this way. It is fast, it runs offline, and it is cheap at scale.

That pipeline is also why classical OCR breaks in predictable places. Handwriting has no fixed character shapes to match. A table loses its structure the moment text gets read left to right, top to bottom, with no sense of which cell it came from. A skewed photo or a coffee stain drops accuracy fast, because the engine is matching shapes, not understanding the page.

Vision language models changed what happens after detection. A model like GPT-4o or Claude reads the image and reasons about what it means. This column is a quantity. That box is a signature. This handwritten note changes the total. It can answer a question about the page, well beyond transcribing it.

Why it matters

The choice is cost against what the document actually looks like

Every document pipeline starts with the same question: what do your real documents look like, not the sample ones in a sales deck? Clean, printed, single-column pages are a solved problem. Classical OCR reads them at low cost and high speed, and there is no reason to pay a model to do the same job.

The documents that break classical OCR show up every week. A handwritten field on an intake form. A table spanning two pages. A photo taken at an angle in bad light. A vision model reads those correctly more often. It reasons about layout and meaning instead of matching isolated shapes. The trade-off is cost per page and latency, and both multiply fast across a real document volume.

We built PremiumAudit.io on this split. Insurance audit documents arrive as scans, photos and handwritten worksheets, not clean PDFs. The Claude API parses them, validates the figures against each other and drafts a report. A character-matching engine cannot do that kind of reasoning. That system reports 75% faster audit cycles and 95% fewer calculation errors.

In practice, most document pipelines we run are not one or the other. A router sends clean printed pages to a cheap classical engine and routes the rest, tables, handwriting, low-quality scans, to a model. Paying model prices for every page is money spent solving a problem that engine already solved.

A document, from image to structured dataLive
  1. IngestScan, photo or PDF arrives with no selectable text.
  2. ClassifyRoute by document quality and layout.
  3. Classical OCRClean, printed, single-column pages.
  4. Vision modelTables, handwriting, poor scans, mixed layouts.
  5. ValidateFigures cross-checked against each other.
  6. Structured outputFields, not a flat block of text.

The routing step is where cost gets controlled. Everything after it is where accuracy gets won or lost.

Questions, answered

Common questions

01How accurate is OCR?

Classical OCR reads clean, printed, single-column text at well over 99% character accuracy. Accuracy drops fast on handwriting, low-resolution scans, skewed photos and complex tables, sometimes well below 90%. Vision models hold up better on those harder cases, at a higher cost per page.

02Is OCR still worth using now that vision models can read documents?

Yes, for the documents it was built for. Classical OCR is cheaper and faster than a model call, so it remains the right default for clean, printed, high-volume pages. The shift is routing the harder documents, tables, handwriting, poor scans, to a vision model instead of forcing everything through one engine.

03What is the difference between OCR and document AI?

OCR converts an image of text into characters. Document AI is the layer built on top. It works out which characters form a field, cross-checks values against each other, and produces structured output an application can use. OCR answers 'what does this say'. Document AI answers 'what does this mean'.

Written by Abdul Basit, CEO, HashlogicsVerified
Start

Let’s build the one that runs after.

We build AI agents and automation, then stay on under an agreed service level. A senior engineer reads every brief, and your call gets scheduled within 24 hours.

What happens next

  1. 01

    You send a brief or book a call

    Two minutes, whichever you prefer.

  2. 02

    A senior engineer replies within 24 hours

    Not a sales rep.

  3. 03

    Honest scoping, in writing

    And if we’re not the right fit, we say so.

Abdul Basit, CEO of Hashlogics

“I started Hashlogics because too many teams ship a demo, get paid, and disappear. We build to a standard we’d run ourselves — and we stay to keep it running.”

Abdul Basit · CEO · a direct line

Not ready to talk? Take the checklist.

12 questions to ask any AI agency before you sign. They separate a demo shop from a team that ships to production.

Get the checklist

Free · no newsletter