OCR (optical character recognition)

Contributor(s): Eric Spellmann and XoXus

OCR (optical character recognition) is the use of technology to distinguish printed or handwritten text characters inside digital images of physical documents, such as a scanned paper document. The basic process of OCR involves examining the text of a document and translating the characters into code that can be used for data processing. OCR is sometimes also referred to as text recognition.

OCR systems are made up of a combination of hardware and software that is used to convert physical documents into machine-readable text. Hardware, such as an optical scanner or specialized circuit board is used to copy or read text while software typically handles the advanced processing. Software can also take advantage of artificial intelligence (AI) to implement more advanced methods of intelligent character recognition (ICR), like identifying languages or styles of handwriting.

The process of OCR is most commonly used to turn  hard copy  legal or historic documents into PDFs. Once placed in this soft copy, users can edit, format and search the document as if it was created with a word processor.

How optical character recognition works

The first step of OCR is using a scanner to process the physical form of a document. Once all pages are copied, OCR software converts the document into a two-color, or black and white, version. The scanned-in image or bitmap is analyzed for light and dark areas, where the dark areas are identified as characters that need to be recognized and light areas are identified as background.

The dark areas are then processed further to find alphabetic letters or numeric digits. OCR programs can vary in their techniques, but typically involve targeting one character, word or block of text at a time. Characters are then identified using one of two algorithms:

  1. Pattern recognition- OCR programs are fed examples of text in various fonts and formats which are then used to compare, and recognize, characters in the scanned document.
  2. Feature detection- OCR programs apply rules regarding the features of a specific letter or number to recognize characters in the scanned document. Features could include the number of angled lines, crossed lines or curves in a character for comparison. For example, the capital letter “A” may be stored as two diagonal lines that meet with a horizontal line across the middle.

When a character is identified, it is converted into an ASCII code that can be used by computer systems to handle further manipulations. Users should correct basic errors, proofread and make sure complex layouts were handled properly before saving the document for future use.

Optical character recognition use cases

OCR can be used for a variety of applications, including:

  • Scanning printed documents into versions that can be edited with word processors, like Microsoft Word or Google Docs.
  • Indexing print material for search engines.
  • Automating data entry, extraction and processing.
  • Deciphering documents into text that can be read aloud to visually-impaired or blind users.
  • Archiving historic information, such as newspapers, magazines or phonebooks, into searchable formats.
  • Electronically depositing checks without the need for a bank teller.
  • Placing important, signed legal documents into an electronic database.
  • Recognizing text, such as license plates, with a camera or software.
  • Sorting letters for mail delivery.
  • Translating words within an image into a specified language.

Benefits of optical character recognition

The main advantages of OCR technology are saved time, decreased errors and minimized effort. It also enables actions that are not capable with physical copies such as compressing into ZIP files, highlighting keywords, incorporating into a website and attaching to an email.

While taking images of documents enables them to be digitally archived, OCR provides the added functionality of being able to edit and search those documents.

This was last updated in April 2019

Continue Reading About OCR (optical character recognition)

Dig Deeper on Enterprise content management software platforms

Join the conversation


Send me notifications when other members comment.

Please create a username to comment.

What processes within your organization would benefit from implementing OCR?
what is the function of OCR?
The core function of OCR is to make human-readable text machine-readable. That's one of the the first steps in intelligent document processing where massive quantities of scanned pages are automatically sorted and organized so that information can be pulled from them and imported into other software programs for analysis and data entry.
Does it convert the images of scribbled/hashy text to proper/normal text?
would OCR be able to translate lets a a board pack, decipher and summarise the information held within? Remaining within the context of a boardpack,
would the software take direct feeds from various information sources including a company strategy and politicies to make an informed summarised view of the content of the board pack.  Am sure this is possible but would like to know for sure and if so, how can i test this or see it in operation.