TL;DR
This paper introduces TextBoxes++, a novel single-shot, end-to-end trainable deep learning model for detecting arbitrary-oriented text in natural images. It achieves state-of-the-art accuracy and high speed by adapting object detection techniques with specialized "text-box" layers and a quadrilateral representation for text bounding boxes.
What Problem Does This Paper Address?
Reading text in natural images (scene text detection and recognition) is crucial for many applications, from image geolocalization to augmented reality. However, it's a challenging task due to several factors: text can appear at any orientation, be very small, have extreme aspect ratios (long and thin), and be affected by varying lighting conditions and complex backgrounds. Traditional methods often involve multiple complex steps, making them slow and difficult to tune. This paper aims to create a faster, more accurate, and simpler end-to-end system for detecting oriented text.
Methods
The core of TextBoxes++ is a fully convolutional neural network, inspired by the SSD (Single Shot MultiBox Detector) architecture. Key innovations include:
- Arbitrary-Oriented Text Representation: Instead of standard horizontal bounding boxes, TextBoxes++ uses quadrilaterals to represent text, allowing for more accurate localization of rotated text.
- Specialized Text-Box Layers: These layers are designed to predict text presence and bounding box offsets. They are adapted to handle the unique characteristics of text, such as long aspect ratios, by using "long" convolutional kernels and densifying default boxes with vertical offsets.
- Efficient Training and Testing: The model is end-to-end trainable. For testing, it employs an efficient cascaded non-maximum suppression (NMS) strategy to merge predictions from multiple scales, speeding up the process.
- Integration with Recognition: The authors also demonstrate how combining TextBoxes++ with a text recognition model (CRNN) can further improve performance by using recognition scores to refine detection results.
Datasets
The paper uses several datasets for training and evaluation:
- SynthText: Used for pre-training the model due to its large synthetic text dataset.
- ICDAR 2015 Incidental Text (IC15): A primary dataset for evaluating oriented text detection.
- COCO-Text: Another challenging dataset for oriented text detection.
- ICDAR 2013 (IC13) and Street View Text (SVT): Used to evaluate the model's performance on horizontal text detection, demonstrating its versatility.
Key Insights and Ideas
- Quadrilaterals are Better for Oriented Text: The paper strongly advocates for using quadrilateral bounding boxes over rotated rectangles, especially when images are resized, as they maintain accuracy better.
- Task-Specific Design Matters: Simply adapting general object detection methods like SSD to text detection isn't enough. Specialized "text-box" layers and default box configurations are crucial for handling text's unique properties (long aspect ratios, dense occurrences).
- Recognition Can Improve Detection: Leveraging the semantic understanding from a text recognition model can act as a powerful regularizer, helping to filter out false positives and improve the overall quality of text detection.
- End-to-End Simplicity: The model's end-to-end nature, without complex post-processing steps beyond NMS, significantly simplifies the pipeline and improves efficiency.
Key Results
TextBoxes++ demonstrates strong performance across various benchmarks:
- ICDAR 2015 Incidental Text: Achieved an f-measure of 0.817 at 11.6fps (1024x1024 images) using quadrilateral representation and multi-scale inputs.
- COCO-Text: Achieved an f-measure of 0.5591 at 19.8fps (768x768 images).
- State-of-the-Art Performance: TextBoxes++ outperforms competing methods in both accuracy and speed on multiple datasets.
- Word Spotting & End-to-End Recognition: When combined with CRNN, it achieves state-of-the-art results on word spotting and end-to-end text recognition tasks, showing significant improvements over previous methods.
Limitations and Future Work
The authors acknowledge a few limitations:
- Difficulty with Extreme Cases: The model still struggles with very large character spacing, object occlusion, and curved text.
- Vertical Text: Detecting vertical text remains a challenge, likely due to insufficient vertical text in the training data.
- Text Recognizer Limitations: The current text recognizer has difficulties with vertical text and low-resolution images, which limits the potential for further improvement in the combined system.
Future work could involve addressing these limitations by incorporating more diverse training data for vertical text, developing more robust methods for curved text, and exploring better text recognition models to enhance the overall system.
Summary updated