Open-Vocabulary Scene Text Recognition via Pseudo-Image Labeling and Margin Loss
Organizations: Shaanxi Normal University Xian, China
Abstract
Scene text recognition is an important and challenging task in computer vision. However, most prior works focus on recognizing pre-defined words, while there are various out-of-vocabulary (OOV) words in real-world applications. In this paper, we propose a novel open-vocabulary text recognition framework, Pseudo-OCR, to recognize OOV words. The key challenge in this task is the lack of OOV training data. To solve this problem, we first propose a pseudo label generation module that leverages character detection and image inpainting to produce substantial pseudo OOV training data from real-world images. Unlike previous synthetic data, our pseudo OOV data contains real characters and backgrounds to simulate real-world applications. Secondly, to reduce noises in pseudo data, we present a semantic checking mechanism to filter semantically meaningful data. Thirdly, we introduce a quality-aware margin loss to boost the training with pseudo data. Our loss includes a margin-based part to enhance the classification ability, and a quality-aware part to penalize low-quality samples in both real and pseudo data. Extensive experiments demonstrate that our approach outperforms the state-of-the-art on eight datasets and achieves the first rank in the ICDAR2022 challenge.
Figures & tables
| Method | Train data | IIIT5k | SVT | IC13 | IC13 | IC15 | IC15 | SVTP | CUTE |
|---|---|---|---|---|---|---|---|---|---|
| Num | - | 3,000 | 647 | 857 | 1,015 | 1,811 | 2,077 | 645 | 288 |
| 36-char results | |||||||||
| PARSeq [ 3 ] | R | 99.1 | 97.9 | 98.3 | 98.4 | 90.7 | 89.6 | 95.7 | 98.3 |
| S-GTR [ 17 ] | B | 97.5 | 95.8 | 97.8 | - | - | 87.3 | 90.6 | 94.7 |
| CDistNet [ 57 ] | B | 96.4 | 93.5 | 97.4 | - | 86.0 | - | 88.7 | 93.4 |
| TextScanner [ 45 ] | S | 95.7 | 92.7 | - | 94.9 | – | 83.5 | 84.8 | 91.6 |
| IV: % | OOV: % | AVE: % | |
| Ablation study for semantic checking module | |||
| w/ | 95.06 | 81.12 | 88.09 |
| w/o | 94.61 | 79.22 | 86.92 |
| Ablation study for data augment strategy | |||
| Both | 95.06 | 81.12 | 88.09 |
| w/o Remove | 95.05 | 80.27 | 87.66 |
| IV: % | OOV: % | AVE: % | |
| Ablation study for margin-based loss | |||
| w/ | 95.01 | 80.26 | 87.64 |
| w/o | 95.03 | 79.68 | 87.36 |
| Ablation study for quality indicator | |||
| w/o | 95.01 | 80.26 | 87.64 |
| w/ image | 95.03 | 80.33 | 87.68 |
| AVG: % | IV: % | OOV: % | Ensemble | |
|---|---|---|---|---|
| Method | CRW | CRW | CRW | |
| Ours | 70.98 | 82.81 | 59.15 | |
| OCRFLYV2 | 70.31 | 81.02 | 59.61 | ✓ |
| HuiGuanV2 | 70.28 | 81.73 | 58.83 | ✓ |
| oov3decode | 70.22 | 81.58 | 58.86 | ✓ |
| ViT-based | 70.00 | 81.36 | 58.64 | ✓ |
Scene Text Recognition
Scene Text Recognition reads text in natural images and video, including distorted, multilingual, low-resolution, and stylized writing.
See all 30 papers