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

通过文本感知掩码图像建模利用文本定位进行场景文本移除

Leveraging Text Localization for Scene Text Removal via Text-aware Masked Image Modeling

University of Science and Technology of China(中国科学技术大学);IntSig Information Co., Ltd(影目科技有限公司)

Zixiao Wang, Hongtao Xie, YuXin Wang, Yadong Qu, Fengjun Guo, Pengwei Liu

AI总结:

针对场景文本移除标注成本高的问题,提出文本感知掩码图像建模算法TMIM,通过背景建模流和文本擦除流利用低成本文本检测标签进行弱监督预训练,在SCUT-EnsText上取得37.35 PSNR的最先进性能。

摘要:

由于像素级标注成本高昂,现有的场景文本移除(STR)任务面临训练数据不足的问题。本文旨在通过引入文本感知掩码图像建模算法(TMIM)来解决这一问题,该算法能够利用低成本的文本检测标签(例如文本边界框)预训练STR模型。以往预训练方法仅使用间接辅助任务来增强隐式特征提取能力,与此不同,我们的TMIM首次使STR任务能够以弱监督方式进行直接训练,明确且高效地探索STR知识。在TMIM中,首先构建背景建模流,通过恢复掩码的非文本区域来学习背景生成规则。同时,它在掩码的文本区域上提供伪STR标签。其次,提出文本擦除流,从伪标签中学习并赋予模型端到端的STR能力。得益于这两个协作流,我们的STR模型仅需公开的文本检测数据集即可取得令人印象深刻的性能,极大缓解了高成本STR标签的限制。实验表明,我们的方法优于其他预训练方法,并取得了最先进的性能(在SCUT-EnsText上PSNR为37.35)。代码将在https://github.com/wzx99/TMIM提供。

英文摘要:

Existing scene text removal (STR) task suffers from insufficient training data due to the expensive pixel-level labeling. In this paper, we aim to address this issue by introducing a Text-aware Masked Image Modeling algorithm (TMIM), which can pretrain STR models with low-cost text detection labels (e.g., text bounding box). Different from previous pretraining methods that use indirect auxiliary tasks only to enhance the implicit feature extraction ability, our TMIM first enables the STR task to be directly trained in a weakly supervised manner, which explores the STR knowledge explicitly and efficiently. In TMIM, first, a Background Modeling stream is built to learn background generation rules by recovering the masked non-text region. Meanwhile, it provides pseudo STR labels on the masked text region. Second, a Text Erasing stream is proposed to learn from the pseudo labels and equip the model with end-to-end STR ability. Benefiting from the two collaborative streams, our STR model can achieve impressive performance only with the public text detection datasets, which greatly alleviates the limitation of the high-cost STR labels. Experiments demonstrate that our method outperforms other pretrain methods and achieves state-of-the-art performance (37.35 PSNR on SCUT-EnsText). Code will be available at https://github.com/wzx99/TMIM.

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

↑