arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1910.04396cs.CV
收藏

基于二维自注意力的任意文本识别

On Recognizing Texts of Arbitrary Shapes with 2D Self-Attention

Clova AI Research, NAVER/LINE Corp(Clova AI 研究,NAVER/LINE 公司)

Junyeop Lee, Sungrae Park, Jeonghun Baek, Seong Joon Oh, Seonghyeon Kim, Hwalsuk Lee

摘要:

场景文本识别是对自然场景中的字符序列进行识别的任务。虽然STR方法已经有了很大的进步,但目前的方法仍然无法识别任意形状的文本,例如严重弯曲或旋转的文本,这些文本在日常生活中非常丰富(例如餐厅标志,产品标签,公司徽标等)。本文介绍了一种新的架构,识别任意形状的文本,命名为自注意文本识别网络(SATRN),这是受Transformer。SATRN利用自注意力机制来描述场景文本图像中字符的二维(2D)空间依赖性。利用自注意的全图传播特性,SATRN可以识别任意排列和大字符间距的文本。因此,SATRN在“不规则文本”基准测试中平均比现有STR模型高出5.7 pp。我们提供了实证分析,说明了内部机制和模型的适用范围(如旋转和多行文本)。我们将开源代码。

英文摘要:

Scene text recognition (STR) is the task of recognizing character sequences in natural scenes. While there have been great advances in STR methods, current methods still fail to recognize texts in arbitrary shapes, such as heavily curved or rotated texts, which are abundant in daily life (e.g. restaurant signs, product labels, company logos, etc). This paper introduces a novel architecture to recognizing texts of arbitrary shapes, named Self-Attention Text Recognition Network (SATRN), which is inspired by the Transformer. SATRN utilizes the self-attention mechanism to describe two-dimensional (2D) spatial dependencies of characters in a scene text image. Exploiting the full-graph propagation of self-attention, SATRN can recognize texts with arbitrary arrangements and large inter-character spacing. As a result, SATRN outperforms existing STR models by a large margin of 5.7 pp on average in "irregular text" benchmarks. We provide empirical analyses that illustrate the inner mechanisms and the extent to which the model is applicable (e.g. rotated and multi-line text). We will open-source the code.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑