Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

CDistNet: Perceiving Multi-Domain Character Distance for Robust Text Recognition

About

The Transformer-based encoder-decoder framework is becoming popular in scene text recognition, largely because it naturally integrates recognition clues from both visual and semantic domains. However, recent studies show that the two kinds of clues are not always well registered and therefore, feature and character might be misaligned in difficult text (e.g., with a rare shape). As a result, constraints such as character position are introduced to alleviate this problem. Despite certain success, visual and semantic are still separately modeled and they are merely loosely associated. In this paper, we propose a novel module called Multi-Domain Character Distance Perception (MDCDP) to establish a visually and semantically related position embedding. MDCDP uses the position embedding to query both visual and semantic features following the cross-attention mechanism. The two kinds of clues are fused into the position branch, generating a content-aware embedding that well perceives character spacing and orientation variants, character semantic affinities, and clues tying the two kinds of information. They are summarized as the multi-domain character distance. We develop CDistNet that stacks multiple MDCDPs to guide a gradually precise distance modeling. Thus, the feature-character alignment is well built even various recognition difficulties are presented. We verify CDistNet on ten challenging public datasets and two series of augmented datasets created by ourselves. The experiments demonstrate that CDistNet performs highly competitively. It not only ranks top-tier in standard benchmarks, but also outperforms recent popular methods by obvious margins on real and augmented datasets presenting severe text deformation, poor linguistic support, and rare character layouts. Code is available at https://github.com/simplify23/CDistNet.

Tianlun Zheng, Zhineng Chen, Shancheng Fang, Hongtao Xie, Yu-Gang Jiang• 2021

Related benchmarks

TaskDatasetResultRank
Scene Text RecognitionSVT (test)
Word Accuracy93.6
289
Scene Text RecognitionIIIT5K (test)
Word Accuracy96.7
244
Scene Text RecognitionIC15 (test)
Word Accuracy86
210
Scene Text RecognitionIC13 (test)
Word Accuracy97.4
207
Scene Text RecognitionSVTP (test)
Word Accuracy88.8
153
Scene Text RecognitionIC13, IC15, IIIT, SVT, SVTP, CUTE80 Average of 6 benchmarks (test)
Average Accuracy92.57
105
Scene Text RecognitionICDAR13 (test)
Accuracy97.1
24
Scene Text RecognitionUnion14M L (test)
Curve Accuracy69.3
24
Optical Character RecognitionIIITH (val)
Accuracy34.96
22
Optical Character RecognitionUTRSet-Real (val)
Accuracy33.72
22
Showing 10 of 18 rows

Other info

Code

Follow for update