Skip to main content
QUICK REVIEW

[Paper Review] Image Processing Based Scene-Text Detection and Recognition with Tesseract

Ebin Zacharias, Martin Teuchler|arXiv (Cornell University)|Apr 17, 2020
Image and Object Detection TechniquesComputer Science3 references19 citations
TL;DR

This paper presents a scene-text detection and recognition system for industrial ILU code extraction using Tesseract OCR with image preprocessing and checksum validation. By applying gamma correction, skew correction, and region-of-interest (ROI) splitting with PSM 10 and PSM 3, the system achieved 83% accuracy after mitigating false positives caused by checksum mismatches due to registration number misrecognition.

ABSTRACT

Text Recognition is one of the challenging tasks of computer vision with considerable practical interest. Optical character recognition (OCR) enables different applications for automation. This project focuses on word detection and recognition in natural images. In comparison to reading text in scanned documents, the targeted problem is significantly more challenging. The use case in focus facilitates the possibility to detect the text area in natural scenes with greater accuracy because of the availability of images under constraints. This is achieved using a camera mounted on a truck capturing likewise images round-the-clock. The detected text area is then recognized using Tesseract OCR engine. Even though it benefits low computational power requirements, the model is limited to only specific use cases. This paper discusses a critical false positive case scenario occurred while testing and elaborates the strategy used to alleviate the problem. The project achieved a correct character recognition rate of more than 80\%. This paper outlines the stages of development, the major challenges and some of the interesting findings of the project.

Motivation & Objective

  • To develop a reliable scene-text recognition pipeline for industrial use in detecting ILU codes on swap bodies.
  • To address high false-positive rates in Tesseract OCR caused by misrecognition of registration numbers leading to incorrect checksums.
  • To improve recognition accuracy through image preprocessing and structured post-processing with checksum validation.
  • To evaluate the effectiveness of different Tesseract page segmentation modes (PSM 10 and PSM 3) for segmented text recognition.
  • To reduce false positives by splitting the ROI into registration number and checksum parts for independent recognition and verification.

Proposed method

  • Captured images from a rear-mounted camera on a truck, stored in Microsoft Azure, with consistent cropping to the lower-right ROI.
  • Applied gamma correction using a lookup table (LUT) based on RMS brightness to normalize illumination variations, especially under night or flash conditions.
  • Performed skew correction using the progressive probabilistic Hough transform on Canny-detected edges to align text regions.
  • Used Tesseract OCR v5 with LSTM-based recognition, testing PSM 10 (single character) and PSM 3 (automatic page segmentation) for different ROI segments.
  • Split the detected ROI into two parts: registration number (PSM 10) and checksum (PSM 3), with digit-only recognition constraints.
  • Validated results by recalculating the checksum from the first 10 characters and comparing it with the detected checksum digit.

Experimental results

Research questions

  • RQ1How does image preprocessing, including gamma correction and skew correction, affect the accuracy of scene-text recognition in variable lighting conditions?
  • RQ2What is the impact of using different Tesseract page segmentation modes (PSM 10 vs. PSM 3) on recognition accuracy for structured ILU codes?
  • RQ3Why do false-positive cases occur in Tesseract-based recognition when the checksum digit matches the calculated value despite incorrect registration number detection?
  • RQ4Can splitting the ROI and processing registration and checksum parts separately reduce false positives in ILU code recognition?
  • RQ5To what extent does checksum validation improve the reliability of OCR results in constrained, patterned text recognition tasks?

Key findings

  • Initial testing on 3,000 images yielded 89.7% character accuracy, but false positives reduced effective accuracy to 49%.
  • False positives were primarily caused by misrecognition of registration numbers, which led to incorrect checksums that still matched the calculated checksum due to pattern dependency.
  • Splitting the ROI and using PSM 10 for the registration number and PSM 3 for the checksum reduced false positives significantly.
  • The two-step recognition and checksum validation approach increased overall accuracy to 83% on a test set of 7,450 images.
  • The use of digit-only recognition constraints and targeted PSM modes improved reliability for structured, patterned text like ILU codes.
  • The study highlights the risk of checksum matching with incorrect inputs, indicating a need for robust validation in real-world OCR applications.

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.