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

全局-局部感知场景文本编辑

Global-Local Aware Scene Text Editing

Harbin Institute of Technology(哈尔滨工业大学);Li Auto;Suzhou Research Institute(苏州研究院);University of New South Wales(新南威尔士大学)

Fuxiang Yang, Tonghua Su, Donglin Di, Yin Chen, Xiangqian Wu, Zhongjie Wang, Lei Fan

AI总结:

本文提出GLASTE模型,通过结合全局和局部信息,解决场景文本编辑中的不一致性和长度敏感性问题,提升编辑效果。

摘要:

场景文本编辑(STE)涉及在场景图像中用新目标文本替换原有文本,同时保持原始文本风格和背景纹理。现有方法面临两个主要挑战:不一致性和长度不敏感性。它们往往无法保持编辑局部块与周围区域之间的一致性,且难以处理编辑前后文本长度显著差异的问题。为解决这些挑战,我们提出了一种端到端框架,称为全局-局部感知场景文本编辑(GLASTE),该框架同时结合了高层全局上下文信息和精细的局部特征。具体而言,我们设计了全局-局部组合结构,联合全局和局部损失,并增强文本图像特征以确保局部块内文本风格的一致性,同时保持局部和全局区域的和谐。此外,我们将文本风格表示为一个与图像大小无关的向量,可以转移到各种尺寸的目标文本图像中。我们使用仿射融合将目标文本图像填充到编辑块中,同时保持其宽高比不变。在真实世界数据集上的广泛实验验证了我们的GLASTE模型在定量指标和定性结果上均优于先前方法,并有效缓解了这两个挑战。

英文摘要:

Scene Text Editing (STE) involves replacing text in a scene image with new target text while preserving both the original text style and background texture. Existing methods suffer from two major challenges: inconsistency and length-insensitivity. They often fail to maintain coherence between the edited local patch and the surrounding area, and they struggle to handle significant differences in text length before and after editing. To tackle these challenges, we propose an end-to-end framework called Global-Local Aware Scene Text Editing (GLASTE), which simultaneously incorporates high-level global contextual information along with delicate local features. Specifically, we design a global-local combination structure, joint global and local losses, and enhance text image features to ensure consistency in text style within local patches while maintaining harmony between local and global areas. Additionally, we express the text style as a vector independent of the image size, which can be transferred to target text images of various sizes. We use an affine fusion to fill target text images into the editing patch while maintaining their aspect ratio unchanged. Extensive experiments on real-world datasets validate that our GLASTE model outperforms previous methods in both quantitative metrics and qualitative results and effectively mitigates the two challenges.

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

↑