Optical Character Recognition

A step-by-step guide to OCR form processing

In this blog, we will discuss how OCR works in form processing, its benefits, and how it can improve the efficiency of your existing workflow.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
A step-by-step guide to OCR form processing

For most high-performing businesses, efficiency is key. And with increasing transactions, processing forms and documents manually has become a major challenge. 

It’s time we find a better alternative and adopt smarter OCR technologies to automate form processing. Optical Character Recognition (OCR) technology has revolutionized how businesses process forms by automating data extraction with speed and precision. 

From reading printed or handwritten text to converting it into editable digital formats, OCR form processing offers a reliable solution to streamline operations and reduce manual workloads.

This guide outlines a practical, step-by-step approach to implementing OCR for form processing in your organization. Whether you’re exploring ways to enhance your existing systems or considering OCR for the first time, this resource will help you navigate the process with clarity and confidence.

Let’s jump right into it right away by understanding different types of forms.

What’s the Difference Between Structured and Semi-structured Forms?

Lenders, insurers, and other industries need to process numerous forms in their day-to-day operations. These forms can be divided into two categories:- 

i) Structured Forms

ii) Semi-structured Forms

The division is made on the basis of structure, template, and layout of different forms. This classification is important as it affects how these forms are processed.

Let’s have a look at both types of forms one by one:-

Structured Forms

Structured forms are made up of clearly defined text blocks with fields that are always in the same place. They only change in terms of the information populated in each field. OCR works well with structured forms because the data remains in the same place on each page.

Examples: Registration cards, Surveys, DMV forms, etc.

This fixed structure of forms allows for higher data extraction accuracy. However, there may be other factors that can affect the OCR accuracy negatively when information is typed over the lines of the documents. 

For example, if “1” is typed over a field and the lines get too close, the OCR engine may not capture the number “1” at all.

Semi-structured Forms

For semi-structured forms, the location of key identifiers and checkboxes vary along with the data fields. This poses a problem for template-based OCR software as it may capture incorrect data, which might be located somewhere else on the page.

Data extraction from semi-structured forms relies upon the use of business rules to locate the 'position information' for a data point. These rules rely upon the fact that the data to be extracted is always in the same relative position to a defining characteristic.

Example: Invoices, Bank statements, etc.

For obvious reasons, set-up procedures for unstructured forms can work for fixed-structured forms, but not vice versa, as fixed-structured forms require strict data placement. 

Again, certain external factors might make an originally fixed-structured form more suitable for the unstructured category. 

Say a PDF was sent to multiple clients to be printed, filled out, and returned to you - a lot can go wrong. Some users might scale the PDF, printing in different sizes; others may use different printing margins or have varying color intensity, and again, there are going to be glaring differences between the forms that are faxed, scanned, and sent in original.

All these external factors add to the woes of agents responsible for entering data manually or using traditional OCR to scan these documents. But there is a way it can all be automated.

Now that we understand the key differences between structured and semi-structured forms, let's explore some real-world examples of how form processing can be applied across various industries.

Form processing: Use-cases

OCR finds its application in almost every industry, but certain sectors are more data-intensive. Let us look at some of them.

1. Mortgage Lending

Mortgage lending has strict guidelines for paperwork that must be met to satisfy both mortgage insurers and investors. However given the lack of standardization, processing these documents is mostly a manual operation.

Several of the forms — Form 1003 (industry standard Mortgage Application), Form 710 Fannie Mae (application for mortgage assistance due to financial hardship), and Form 1008 (Uniform Underwriting and Transmittal Summary) are extremely crucial documents for assessing risks related to mortgage lending. And processing these forms manually means a delayed time frame adds to the possibility of human errors.

Data extraction solutions, like Docsumo, help expedite these processes by extracting and validating data in real time. This ensures that the documents provided by the borrower are secure and that the data extracted from these documents is actionable, thus automating the mortgage lending process.

2. Tax Returns

Manual data entry is a costly and time-consuming affair, more so during the tax season when thousands of tax documents must be processed in a given time frame. 

Docsumo’s intelligent document processing capabilities expedite tax form processing and help you put your man-hours to better use. 

Here are the tax return forms Docsumo can process instantly:

  • Form 1040: Standard form filled by individual taxpayers to file their taxes with the IRS. Form 1040 contains information like name, address, SSN, dependents, etc., and determines if the filer would receive a tax refund.
  • Form W-4: Employee’s Withholding Certificate meant to inform employers how much tax to withhold from their paycheck.
  • Form W-9:  Form W-9, also called Request for Taxpayer Identification and Certification, is an official form from the IRS for employers to verify employee credentials.
  • Form 4506-T: Request for Transcript of Tax Return, or Form 4506-T, allows you to request transcripts of a tax return filed earlier.
  • Form 941: Employer’s Quarterly Federal Tax Return or Form 941 is a quarterly report sent to the IRS accounting for withheld federal income tax.
  • Form W-2: Wage and Tax Statement, or Form W-2, reflects your income and FICA taxes withheld from the previous year. 
  • Form 9465: Also called Installment Agreement Request, Form 9465 is filed by taxpayers who can’t pay their taxes all at once and want to set up an installment plan.
  • Form 1065: IRS Form 1065 is a tax form used by partnerships to report their income, gains, losses, deductions, credits, and other relevant information to the IRS.

Using Docsumo, you can automate the processing of all the above documents in no time and with minimal setup — all the while maintaining accuracy and improving workflow speed.

3. Human Resource Payslips

Handling monthly payslips in an optimized manner is a challenge HR personnel in almost every industry sector face. This is mostly because the payslips are processed manually. On top of being incredibly tedious, manually handling these salary slips adds to the operational costs of a company. And here’s where Docsumo comes into the picture. 

With its payslip automation API, all fields from payslips, including employer and employee names and addresses, salary period, days/hours worked, gross salary, tax deductions, etc., can be seamlessly extracted with more than 98% accuracy and within 30 seconds.

4. Medical and Healthcare

The present infrastructure for processing medical and healthcare forms manually is inefficient. Data takes hours to be fed into the system in an industry where time is of the essence. This directly adds to your patients’ misery, thereby hurting your bottom line. While traditional OCR has been considered as an alternative solution for text mining, machine translation, and text to speech — it struggles to perform as per expectations in the healthcare sector.

The medical industry is riddled with duplicative and redundant manual processes which are dependent on organizational data silos. And with everything being data-intensive, achieving digital automation is of the utmost importance. 

With the help of automation tools, the processing of the following forms can be expedited significantly:

  • DS-1843: Medical History and Examination for Foreign Service (For individuals aged 12 and older)
  • DS-1622: Medical History and Examination for Foreign Service (For individuals aged 11 and under)

DS-3057: Medical Clearance Update

5. Insurance

Insurance, like other industries listed above, is paperwork-intensive. Dealing with forms is a part of the daily routine for an insurer. And out of all the forms, we’ve all heard of the ACORD forms. 

ACORD, or Association for Operations Research and Development, is an international non-profit organization that aims to standardize insurance forms and eliminate all the noise and clutter. Nonetheless, copying and entering data from these forms isn’t an enjoyable process, hence the need for a smart OCR.

ACORD forms are available in all formats, including eForms, PDFs, and electronic fillables. 

Here are some of them:

  • Acord 25 - Certificate of Liability Insurance
  • Acord 80 - Homeowner Application
  • Acord 127 - Business Auto Section
  • Acord 130 - Workers Compensation Application

With Docsumo, Acord forms can be processed in real-time with over 98% accuracy, thereby saving insurance agencies a ton of time, effort, and capital.To understand how these use cases are achieved, let's now explore the underlying technology: OCR form processing working.

How Does OCR Form Processing Work?

Let’s take a detailed look into the steps involved in OCR form processing:-

Format detection

As the first step of OCR form processing, the format of the file is identified. It is done to change other formats into images which is essential to perform OCR.

Image pre-processing

In this step, the quality of the scanned image is improved with noise reduction. Noise is a random variation of brightness or color in an image that makes it difficult to identify the text from the background.  Blurring or Smoothing of the image is also performed at this step removing “outlier” pixels that may be noise in the image.

Data Extraction

Structured or semi-structured tables both include key-value pairs and tables in some form. 

In this section, we discuss how OCR is used to extract line-item data and key-value pairs:-

  • Tables: OCR form processing software detects the lines and other visual features in order to perform a proper table extraction. Simple character recognition is not enough for table extraction, and that’s why it’s one of the biggest challenges in document capture. To provide context to extracted data, computer vision and machine learning algorithms are used.
  • Key-Value Pair Mapping: Key-value pairs are essentially two data items -a key and a value linked together as one. Template-based OCR is able to extract key-value pairs efficiently from structured forms, as keys and values have defined position references in these documents. To extract key-value pairs from semi-structured forms, the solution needs to find ways beyond zonal OCR. OCR is coupled with business and document based rules to define the ‘position information’ for values to be extracted for required keys. While OCR is a powerful technology, it's important to acknowledge its limitations. Let’s learn about them in the next section.

Limitations of OCR Form Processing

OCR is a fundamental data extraction technology but nowhere close to being perfect. 

Let’s have a look at some of its limitations when it comes to form processing:-

  • Font size - OCR may find it difficult to convert characters with very large or very small font sizes. 
  • Uni-Dimensional - OCR identifies and extracts characters horizontally; that’s why a character is before or after a character, not under or above it.
  • Case sensitive for editing - The use of spell checking to correct OCR text will typically not permit the case of the letters to be considered, e.g., ‘abc’ and ‘ABC’ will be treated alike.

Understanding these limitations is crucial for implementing a successful form processing automation strategy. Let's explore how you can effectively automate form processing with IDP.

Intelligent Document Processing: Alternative to OCR form processing

‍Intelligent Document Processing (IDP) is a better alternative to OCR as it helps overcome the limitations of OCR. 

Benefits of Machine Learning and Artificial Intelligence-based form processing include:-

1. Scalability - As a business, you can process more forms as compared to manual form processing. IDP solutions can adapt to any layout/template changes, so you don’t need to retrain the solution for the most recent form version.

2. Growth - Extract data from forms automatically and help people concentrate on more important tasks. Grow your team, as you don’t need to hire people for manual data entry. 

3. Accuracy - 99%+ field level accuracy for form processing, which is not possible manually. Docsumo’s document AI solution offers over 95% Straight Through Processing which means you don’t even have to look at 95% of the total forms you process, and they get processed automatically. 

4. Analytics - With Docsumo's automated form processing APIs, you get better data quality using document-level data validation.  Data validation against your database adds to this accuracy.

If you’re looking to automate form processing and digitize business workflows to offer better services to your customers, let’s see how Docsumo can help.

How You Can Automate Form Processing with Docsumo

Forms are essential in almost every industry for simplifying daily operations. However, since the data in these forms needs to be digitized for further processing, we need a more permanent solution than manual data entry. 

Here’s how Docsumo’s form-processing software facilitates automation:

i) Upload Documents

After signing up on the Docsumo platform, upload the forms on the portal in either image or PDF format. You can choose to drag and drop the documents either directly from your email or the local system.

ii) Edit Fields

Through a combination of reverse image search and neural networks, the entries in the forms are extracted using OCR. The extracted data can be edited manually if required.

iii) Validate Fields

Docsumo leverages NLP, Computer Vision, and advanced Deep Learning to assign each extracted bit of information the right data type. Not only does this help improve the accuracy of value extraction, but it makes the data ready for consumption directly by third-party APIs or software.

iv) Review and Approve Suggestions

After the entire data extraction and validation process, Docsumo prompts you with a few optional key-value pairs. You can choose to either ignore or accept the prompted suggestions. But as soon as you approve the suggestions, the file is saved.

v) Download CSV/Excel/JSON

Now, your file is ready to be downloaded in CSV, Excel, or JSON format. While CSV works well for contact information and databases, you can either choose Excel for analytics or JSON to send the data to other software. The system can process multiple forms or documents simultaneously — simply select the data you want to capture and leave the rest to Docsumo.

If you’re looking to automate form processing and digitize business workflows to offer better services to your customers, schedule a free demo with Docsumo, now.

Suggested Case Study
Automating Portfolio Management for Westland Real Estate Group
The portfolio includes 14,000 units across all divisions across Los Angeles County, Orange County, and Inland Empire.
Thank you! You will shortly receive an email
Oops! Something went wrong while submitting the form.
Pankaj Tripathi
Written by
Pankaj Tripathi

Helping enterprises capture data for analytics and decisioning

Is document processing becoming a hindrance to your business growth?
Join Docsumo for recent Doc AI trends and automation tips. Docsumo is the Document AI partner to the leading lenders and insurers in the US.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.