[Paper Review] Mask TextSpotter: An End-to-End Trainable Neural Network for Spotting Text with Arbitrary Shapes
Introduces Mask TextSpotter, an end-to-end trainable network inspired by Mask R-CNN that detects and recognizes scene text of arbitrary shapes by performing instance and character segmentation in a unified framework. It achieves state-of-the-art results on horizontal, oriented, and curved text benchmarks.
Recently, models based on deep neural networks have dominated the fields of scene text detection and recognition. In this paper, we investigate the problem of scene text spotting, which aims at simultaneous text detection and recognition in natural images. An end-to-end trainable neural network model for scene text spotting is proposed. The proposed model, named as Mask TextSpotter, is inspired by the newly published work Mask R-CNN. Different from previous methods that also accomplish text spotting with end-to-end trainable deep neural networks, Mask TextSpotter takes advantage of simple and smooth end-to-end learning procedure, in which precise text detection and recognition are acquired via semantic segmentation. Moreover, it is superior to previous methods in handling text instances of irregular shapes, for example, curved text. Experiments on ICDAR2013, ICDAR2015 and Total-Text demonstrate that the proposed method achieves state-of-the-art results in both scene text detection and end-to-end text recognition tasks.
Motivation & Objective
- Motivate end-to-end text spotting that handles irregular text shapes (horizontal, oriented, curved).
- Develop a unified framework that jointly detects text instances and recognizes characters via segmentation.
- Leverage instance segmentation to avoid reliance on precise bounding boxes for recognition.
- Provide a training procedure that enables fully end-to-end optimization without curriculum-like freezing.
- Evaluate on diverse benchmarks to demonstrate robustness across text shapes and lexicon settings.
Proposed method
- Adapts a Mask R-CNN–style architecture with a feature pyramid backbone (ResNet-50 + FPN).
- Uses RPN to generate text proposals and RoI Align for precise region features.
- Introduces a mask branch producing a global text instance map plus 36 character probability maps plus a character background map (38-channel output).
- Optimizes a multi-task loss combining RPN, Fast R-CNN, and a two-part mask loss (global text and character segmentation).
- Generates targets for RPN/RCNN and mask branch by transforming polygons to horizontal rectangles and creating global/character maps; employs a pixel voting algorithm at inference to decode character regions into sequences.
- In inference, uses Fast R-CNN proposals to produce global and character maps, then extracts text polygons and sequences via contour extraction and pixel voting; uses a weighted edit distance to improve lexicon-driven decoding.
Experimental results
Research questions
- RQ1Can a single, end-to-end trainable model jointly detect and recognize text of arbitrary shapes in natural images?
- RQ2Does instance/character segmentation-based spotting outperform prior two-stage or partially end-to-end methods across horizontal, oriented, and curved text?
- RQ3Can recognition be effectively performed in a 2-D segmentation space instead of 1-D sequences for irregular text?
- RQ4Does joint optimization with shared features improve both detection and recognition accuracy?
- RQ5How does the approach perform on standard benchmarks (ICDAR2013, ICDAR2015, Total-Text) with and without lexicons?
Key findings
- Achieves state-of-the-art results in text detection and end-to-end text spotting on ICDAR2013, ICDAR2015, and Total-Text.
- Outperforms prior methods on end-to-end recognition and shows strong performance for curved text, not just horizontal/oriented text.
- Demonstrates that text can be accurately detected as instance segmentation and recognized via 2-D character maps, enabling end-to-end training without curriculum learning.
- Inference uses a pixel voting scheme on character maps to reconstruct character sequences, coupled with a weighted edit distance for lexicon-based decoding.
- Offers a practical speed-accuracy trade-off (around 6.9 FPS) with competitive accuracy compared to existing methods.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.