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

CLIP4STR: A Simple Baseline for Scene Text Recognition with Pre-trained Vision-Language Model

About

Pre-trained vision-language models~(VLMs) are the de-facto foundation models for various downstream tasks. However, scene text recognition methods still prefer backbones pre-trained on a single modality, namely, the visual modality, despite the potential of VLMs to serve as powerful scene text readers. For example, CLIP can robustly identify regular (horizontal) and irregular (rotated, curved, blurred, or occluded) text in images. With such merits, we transform CLIP into a scene text reader and introduce CLIP4STR, a simple yet effective STR method built upon image and text encoders of CLIP. It has two encoder-decoder branches: a visual branch and a cross-modal branch. The visual branch provides an initial prediction based on the visual feature, and the cross-modal branch refines this prediction by addressing the discrepancy between the visual feature and text semantics. To fully leverage the capabilities of both branches, we design a dual predict-and-refine decoding scheme for inference. We scale CLIP4STR in terms of the model size, pre-training data, and training data, achieving state-of-the-art performance on 13 STR benchmarks. Additionally, a comprehensive empirical study is provided to enhance the understanding of the adaptation of CLIP to STR. Our method establishes a simple yet strong baseline for future STR research with VLMs.

Shuai Zhao, Ruijie Quan, Linchao Zhu, Yi Yang• 2023

Related benchmarks

TaskDatasetResultRank
Scene Text RecognitionSVT (test)
Word Accuracy98.15
289
Scene Text RecognitionIIIT5K (test)
Word Accuracy99.43
244
Scene Text RecognitionIC15 (test)
Word Accuracy91.66
210
Scene Text RecognitionIC13 (test)
Word Accuracy98.48
207
Scene Text RecognitionSVTP (test)
Word Accuracy98.1
153
Scene Text RecognitionIC13, IC15, IIIT, SVT, SVTP, CUTE80 Average of 6 benchmarks (test)
Average Accuracy97.06
105
Scene Text RecognitionCUTE80 (test)
Accuracy0.9896
87
Scene Text RecognitionIC15
Accuracy91.9
86
Scene Text RecognitionCUTE80
Accuracy99.3
47
Scene Text RecognitionUber-Text (test)
Word Accuracy92.2
35
Showing 10 of 27 rows

Other info

Code

Follow for update