Scene Text Recognition (STR) is a challenging task that involves recognizing text within images of natural scenes. Although current state-of-the-art models for STR exhibit high performance, they typically suffer from low inference efficiency due to their reliance on hybrid architectures comprised of visual encoders and sequence decoders. In this work, we propose the VIsion Permutable extractor for fast and efficient scene Text Recognition (VIPTR), which achieves an impressive balance between high performance and rapid inference speeds in the domain of STR. Specifically, VIPTR leverages a visual-semantic extractor with a pyramid structure, characterized by multiple self-attention layers, while eschewing the traditional sequence decoder. This design choice results in a lightweight and efficient model capable of handling inputs of varying sizes. Extensive experimental results on various standard datasets for both Chinese and English scene text recognition validate the superiority of VIPTR. Notably, the VIPTR-T (Tiny) variant delivers highly competitive accuracy on par with other lightweight models and achieves SOTA inference speeds. Meanwhile, the VIPTR-L (Large) variant attains greater recognition accuracy, while maintaining a low parameter count and favorable inference speed. Our proposed method provides a compelling solution for the STR challenge, which blends high accuracy with efficiency and greatly benefits real-world applications requiring fast and reliable text recognition. The code is publicly available at https://github.com/cxfyxl/VIPTR.
翻译:场景文本识别(STR)是一项具有挑战性的任务,涉及识别自然场景图像中的文本。尽管当前STR领域的先进模型表现出较高性能,但由于其依赖由视觉编码器和序列解码器组成的混合架构,通常推理效率较低。本文提出了一种用于快速高效场景文本识别的视觉可置换提取器(VIPTR),其在STR领域实现了高性能与快速推理速度之间的出色平衡。具体而言,VIPTR采用具有金字塔结构的视觉语义提取器,该结构包含多个自注意力层,同时摒弃了传统的序列解码器。这一设计选择使得模型轻量高效,能够处理不同尺寸的输入。在多个中英文场景文本识别标准数据集上的大量实验验证了VIPTR的优越性。值得注意的是,VIPTR-T(Tiny)变体在与其他轻量级模型相当的情况下取得了极具竞争力的精度,并实现了SOTA推理速度。与此同时,VIPTR-L(Large)变体在保持较低参数量和良好推理速度的同时,实现了更高的识别精度。我们提出的方法为STR挑战提供了一种引人注目的解决方案,它融合了高精度与高效率,并极大地推动了需要快速可靠文本识别的实际应用。代码已公开于https://github.com/cxfyxl/VIPTR。