Skip to main content
QUICK REVIEW

[Paper Review] A Generic Method for Automatic Ground Truth Generation of Camera-captured Documents

Sheraz Ahmed, Muhammad Imran Malik|arXiv (Cornell University)|May 4, 2016
Handwritten Text Recognition TechniquesComputer Science21 references4 citations
TL;DR

This paper presents a generic, automatic method for generating ground truth labels for camera-captured document images using Locally Likely Arrangement Hashing (LLAH) to align captured images with their electronic PDF versions. The method enables fully automated, large-scale dataset creation (e.g., 1M words, 10M characters) across multiple languages, achieving 99.98% labeling accuracy. It further introduces the C³Wᵢ dataset and an LSTM-based OCR model that achieves 95.10% accuracy on camera-captured images—significantly outperforming ABBYY (75.02%) and Tesseract (50.22%) due to robustness to blur and poor lighting.

ABSTRACT

The contribution of this paper is fourfold. The first contribution is a novel, generic method for automatic ground truth generation of camera-captured document images (books, magazines, articles, invoices, etc.). It enables us to build large-scale (i.e., millions of images) labeled camera-captured/scanned documents datasets, without any human intervention. The method is generic, language independent and can be used for generation of labeled documents datasets (both scanned and cameracaptured) in any cursive and non-cursive language, e.g., English, Russian, Arabic, Urdu, etc. To assess the effectiveness of the presented method, two different datasets in English and Russian are generated using the presented method. Evaluation of samples from the two datasets shows that 99:98% of the images were correctly labeled. The second contribution is a large dataset (called C3Wi) of camera-captured characters and words images, comprising 1 million word images (10 million character images), captured in a real camera-based acquisition. This dataset can be used for training as well as testing of character recognition systems on camera-captured documents. The third contribution is a novel method for the recognition of cameracaptured document images. The proposed method is based on Long Short-Term Memory and outperforms the state-of-the-art methods for camera based OCRs. As a fourth contribution, various benchmark tests are performed to uncover the behavior of commercial (ABBYY), open source (Tesseract), and the presented camera-based OCR using the presented C3Wi dataset. Evaluation results reveal that the existing OCRs, which already get very high accuracies on scanned documents, have limited performance on camera-captured document images; where ABBYY has an accuracy of 75%, Tesseract an accuracy of 50.22%, while the presented character recognition system has an accuracy of 95.10%.

Motivation & Objective

  • To address the lack of large-scale, publicly available datasets for training and testing OCR systems on camera-captured document images.
  • To develop an automatic, human-free method for generating accurate ground truth labels for camera-captured document images.
  • To create a large-scale, real-world dataset (C³Wᵢ) with 1 million word images and 10 million character images, including realistic distortions such as blur and perspective distortion.
  • To improve OCR performance on camera-captured documents by training a deep learning model on the newly generated dataset.
  • To benchmark state-of-the-art OCRs (ABBYY, Tesseract) and the proposed system on real camera-captured data to reveal performance gaps under realistic distortions.

Proposed method

  • The method uses Locally Likely Arrangement Hashing (LLAH) to retrieve and align the electronic PDF version of a document with its camera-captured image, even when only partial content is present.
  • It automatically localizes and extracts words and characters from the captured image by matching them to the corresponding text in the PDF using LLAH-based document retrieval.
  • The system performs no human intervention in labeling, making it fully automatic and scalable to millions of images.
  • The method is language-agnostic and script-independent, enabling application to cursive and non-cursive scripts such as English, Russian, Arabic, Urdu, and Japanese.
  • A novel dataset, C³Wᵢ, is generated using this method, containing 1 million word images and 10 million character images with real-world distortions.
  • An LSTM-based character recognition model is trained on the C³Wᵢ dataset to handle distortions such as blur, perspective distortion, and poor lighting, without relying on binarization.

Experimental results

Research questions

  • RQ1Can a fully automatic, generic method generate accurate ground truth labels for camera-captured document images without human intervention?
  • RQ2To what extent can LLAH-based document retrieval enable accurate alignment between camera-captured images and their electronic PDF counterparts for ground truth generation?
  • RQ3How effective is the proposed C³Wᵢ dataset in training OCR systems to handle real-world distortions like blur and poor lighting?
  • RQ4Can an LSTM-based OCR trained on the C³Wᵢ dataset outperform existing commercial and open-source OCRs on camera-captured document images?
  • RQ5Does the proposed OCR system maintain strong performance on scanned documents without retraining, indicating generalization capability?

Key findings

  • The proposed automatic ground truth generation method achieved a labeling accuracy of 99.98% on sampled images from English and Russian datasets, demonstrating high reliability.
  • The C³Wᵢ dataset contains 1 million word images and 10 million character images, all extracted from real camera-captured documents with authentic distortions such as blur, perspective distortion, and varying lighting.
  • The proposed LSTM-based OCR achieved a recognition accuracy of 95.10% on the C³Wᵢ dataset, significantly outperforming ABBYY (75.02%) and Tesseract (50.22%) on camera-captured images.
  • On images with severe blur and poor lighting, the proposed system achieved 86.8% accuracy, while ABBYY and Tesseract achieved only 19.57% and 18.1%, respectively, highlighting its robustness.
  • The proposed OCR system performs well even without language modeling, with only minor errors (e.g., 'voes' instead of 'votes') that could be corrected with language modeling.
  • The system generalizes well to scanned documents, indicating that the same model trained on camera-captured data can be effective for scanned inputs as well.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.