arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2312.02694cs.CV
收藏

UPOCR:迈向统一像素级OCR接口

UPOCR: Towards Unified Pixel-Level OCR Interface

South China University of Technology(南方科技大学);INTSIG Information Co. Ltd(INTSIG信息有限公司);INTSIG-SCUT Joint Lab of Document Image Analysis(INTSIG-SCUT文档图像分析联合实验室)

Dezhi Peng, Zhenhua Yang, Jiaxin Zhang, Chongyu Liu, Yongxin Shi, Kai Ding, Fengjun Guo, Lianwen Jin

AI总结:

提出UPOCR,一种基于ViT编码器-解码器和可学习任务提示的统一像素级OCR模型,在文本移除、分割和篡改检测三个任务上以单一模型实现最先进性能。

摘要:

现有的光学字符识别(OCR)方法依赖于任务特定的设计,具有不同的范式、架构和训练策略,这显著增加了研究和维护的复杂性,并阻碍了在应用中的快速部署。为此,我们提出UPOCR,一种简单而有效的通用模型,用于统一像素级OCR接口。具体来说,UPOCR将不同OCR任务的范式统一为图像到图像的变换,架构统一为基于视觉Transformer(ViT)的编码器-解码器,并带有可学习的任务提示。这些提示将编码器提取的通用特征表示推向任务特定的空间,赋予解码器任务感知能力。此外,模型训练统一以最小化预测图像与真实图像之间的差异为目标,无论任务之间的异质性如何。在三个像素级OCR任务(包括文本移除、文本分割和篡改文本检测)上进行了实验。无需花哨的附加组件,实验结果表明,所提出的方法能够以统一的单一模型同时在三个任务上实现最先进的性能,为未来通用OCR模型的研究提供了有价值的策略和见解。代码可在 https://github.com/shannanyinxiang/UPOCR 获取。

英文摘要:

Existing optical character recognition (OCR) methods rely on task-specific designs with divergent paradigms, architectures, and training strategies, which significantly increases the complexity of research and maintenance and hinders the fast deployment in applications. To this end, we propose UPOCR, a simple-yet-effective generalist model for Unified Pixel-level OCR interface. Specifically, the UPOCR unifies the paradigm of diverse OCR tasks as image-to-image transformation and the architecture as a vision Transformer (ViT)-based encoder-decoder with learnable task prompts. The prompts push the general feature representations extracted by the encoder towards task-specific spaces, endowing the decoder with task awareness. Moreover, the model training is uniformly aimed at minimizing the discrepancy between the predicted and ground-truth images regardless of the inhomogeneity among tasks. Experiments are conducted on three pixel-level OCR tasks including text removal, text segmentation, and tampered text detection. Without bells and whistles, the experimental results showcase that the proposed method can simultaneously achieve state-of-the-art performance on three tasks with a unified single model, which provides valuable strategies and insights for future research on generalist OCR models. Code is available at https://github.com/shannanyinxiang/UPOCR.

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

↑