Skip to main content
QUICK REVIEW

[Paper Review] Towards Unconstrained End-to-End Text Spotting

Siyang Qin, Alessandro Bissacco|arXiv (Cornell University)|Aug 24, 2019
Handwritten Text Recognition TechniquesComputer Science58 references23 citations
TL;DR

This paper proposes an end-to-end text spotting model that detects and recognizes arbitrary-shaped text using Mask R-CNN for instance segmentation and an attention-based decoder to directly process unrectified, irregular text regions. By introducing RoI masking and leveraging partially labeled data from a pre-trained OCR engine, the method achieves state-of-the-art performance, surpassing prior work by 4.6% on ICDAR15 and over 16% on Total-Text.

ABSTRACT

We propose an end-to-end trainable network that can simultaneously detect and recognize text of arbitrary shape, making substantial progress on the open problem of reading scene text of irregular shape. We formulate arbitrary shape text detection as an instance segmentation problem; an attention model is then used to decode the textual content of each irregularly shaped text region without rectification. To extract useful irregularly shaped text instance features from image scale features, we propose a simple yet effective RoI masking step. Additionally, we show that predictions from an existing multi-step OCR engine can be leveraged as partially labeled training data, which leads to significant improvements in both the detection and recognition accuracy of our model. Our method surpasses the state-of-the-art for end-to-end recognition tasks on the ICDAR15 (straight) benchmark by 4.6%, and on the Total-Text (curved) benchmark by more than 16%.

Motivation & Objective

  • To address the open problem of end-to-end text spotting for irregularly shaped text, which existing methods struggle with.
  • To eliminate the need for feature rectification between detection and recognition by directly feeding unrectified text features to the recognizer.
  • To improve model performance using partially labeled data automatically generated by an existing multi-step OCR engine.
  • To develop a flexible, end-to-end trainable architecture that jointly optimizes detection and recognition with shared features.

Proposed method

  • Uses Mask R-CNN as the detector to predict axis-aligned bounding boxes and segmentation masks for arbitrary-shaped text instances.
  • Employs a sequence-to-sequence attention decoder to recognize text directly from unrectified, masked text features without geometric normalization.
  • Introduces a RoI masking step to extract irregularly shaped text instance features from feature maps, enabling direct recognition without rectification.
  • Leverages partially labeled data from a pre-trained multi-step OCR engine (e.g., Google Cloud Vision API) to bootstrap recognition training.
  • Adopts a single-step training strategy that jointly optimizes detection and recognition branches using both fully and partially labeled data.
  • Shares a common CNN backbone between detection and recognition branches to improve feature learning and computational efficiency.

Experimental results

Research questions

  • RQ1Can an end-to-end model detect and recognize text of arbitrary shape without requiring geometric rectification of features?
  • RQ2How does using partially labeled data from an existing OCR engine impact the performance of end-to-end text spotting models?
  • RQ3Does RoI masking improve recognition accuracy on irregularly shaped text compared to traditional rectification methods?
  • RQ4Can joint training of detection and recognition branches improve feature representation beyond training detection alone?

Key findings

  • The model achieves a 59.5% end-to-end F-score on the ICDAR15 (straight text) benchmark, surpassing the previous state-of-the-art by 4.6%.
  • On the Total-Text (curved text) benchmark, the model improves the state-of-the-art by more than 16%, demonstrating strong generalization to irregular shapes.
  • The use of partially labeled data boosts recognition performance significantly, even when the detection branch is not directly trained on such data.
  • RoI masking improves end-to-end AP by 3.3 percentage points when using a ResNet-50 backbone with partially labeled data.
  • Single-step training outperforms two-step training in both detection and end-to-end evaluation, suggesting better optimization and feature learning.
  • Inference time is 210 ms per image with a ResNet-50 backbone, with only a 30 ms overhead from the recognition branch, indicating computational efficiency.

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.