OCR

Optical character recognition

OCR is software that reads the text in a photo, scan or PDF and turns it into text a computer can search, copy and use.

Checked 27/11/2026 against 2 sources. Next review 27/05/2027.

OCR stands for optical character recognition. It is the technology that detects text inside an image and returns it as data. Google describes its Cloud Vision API as offering OCR capabilities for text detection from images, including dense document text and handwriting [1]. Amazon says its Textract service detects and extracts printed text, handwriting, forms, tables and layout information from images and scans of documents [2]. For a business, the common use is turning a photographed invoice or receipt into fields you can feed to a spreadsheet or CRM.

What can OCR actually read?

Google's Vision API has two OCR features. TEXT_DETECTION detects and extracts text from any image, such as a photo of a street sign, and returns the full string plus individual words with their bounding boxes [1]. DOCUMENT_TEXT_DETECTION is tuned for dense text and documents, and its response is organised by page, block, paragraph and word [1].

Amazon's Textract goes past plain text. It also detects forms, tables and layout, and returns results as building blocks such as words, lines and cells, or as a fixed set of fields for supported document types [2]. It handles single-page documents synchronously and multi-page documents asynchronously [2].

How does OCR help with invoices and receipts?

Amazon says Textract Core has specialised processing for invoices and receipts [2]. Its newer Insights capability is described as using generative AI to turn invoices, tax forms, bank statements, pay stubs and identity documents into structured records for downstream systems [2]. In both cases the goal is the same: a supplier invoice arrives as an image, and your accounts file gets the supplier name, date and total as separate fields.

A worked example

Say a trading company in Kallang gets 200 supplier invoices a month as phone photos and PDFs. Someone retypes the supplier, invoice number and total from each into a spreadsheet. With OCR, the same photos go in and the three fields come out. A person then checks the ones that look odd instead of typing all 200.

Textract Insights is described as returning each extracted field with a confidence score and its location on the page [2]. That is what lets you route low-confidence fields to a person. Keep in mind that Amazon says Insights is currently available only in the US East (N. Virginia) and US West (Oregon) regions [2]. Check the region before sending documents that hold personal data (see PDPA).

What is the difference between OCR and a large language model reading a document?

OCR finds characters and where they sit on the page [1][2]. Turning that text into named fields is a second step. Amazon says its Insights capability uses generative AI to do it, and can return Markdown, HTML and plain text for LLM and RAG applications [2]. The large language model entry covers the model side.

Google points scanned documents that need structured form parsing and entity extraction to its Document AI product instead [1]. The tool choice follows the job: reading a street sign photo and parsing a bank statement are different problems.

Questions people ask

Can OCR read handwriting?

Some services can. Google's Vision API lists handwriting extraction among its OCR capabilities [1], and Amazon says Textract detects printed text and handwriting [2].

What does OCR stand for?

Optical character recognition. In Google's words, it is a way to detect text from images [1]. The software looks at the picture, finds the characters, and returns them as text you can search or copy.

Is OCR the same as AI?

OCR is a specific task, reading text from images. Amazon describes a separate Insights capability that adds generative AI on top of the text and layout extraction [2]. So some products use both, and OCR alone is not generative AI.

See also

  • Large language model A large language model (LLM) is an AI system trained on huge amounts of text to predict the next piece of text, which lets it write, summarise and answer questions.
  • RAG RAG is a method where an AI looks up your own documents first, then writes its answer from what it found, not only from what it learned in training.
  • Generative AI Generative AI is a type of artificial intelligence that creates new content, such as text, images, audio and code, from a prompt you give it.
  • Embedding An embedding is a list of numbers that represents a piece of text, or an image, so software can measure how close in meaning two things are.
  • CRM A CRM is software that keeps a business's customer and prospect details, enquiries and follow-ups in one shared place.

References

  1. Detect and extract text from images (Cloud Vision API), Google Cloud. Read 27/11/2026.The Cloud Vision API lets you use optical character recognition (OCR) capabilities for text detection from images.
  2. What is Amazon Textract?, Amazon Web Services. Read 27/11/2026.Amazon Textract Core detects and extracts printed text, handwriting, forms, tables, and layout information from images and scans of documents.