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

基于全局结构引导扩散模型的文本图像修复

Text Image Inpainting via Global Structure-Guided Diffusion Models

Southeast University(东南大学)

Shipeng Zhu, Pengfei Fang, Chenjie Zhu, Zuoyan Zhao, Qiang Xu, Hui Xue

AI总结:

本文针对文本图像修复问题,提出全局结构引导扩散模型GSDM,并构建场景文本与手写文本修复基准数据集,显著提升了识别准确率和图像质量。

摘要:

现实世界中的文本可能因环境或人为因素造成的腐蚀问题而受损,这阻碍了文本完整风格(例如纹理和结构)的保存。这些腐蚀问题,如涂鸦标志和不完整签名,给理解文本带来困难,从而对下游应用(例如场景文本识别和签名识别)构成重大挑战。值得注意的是,当前的图像修复技术往往无法充分解决这一问题,难以恢复准确的文本图像以及合理且一致的风格。本文将这一问题形式化为文本图像修复的开放问题,旨在构建一个基准以促进其研究。为此,我们建立了两个专门的文本修复数据集,分别包含场景文本图像和手写文本图像。每个数据集都包含由真实世界和合成数据集改造而成的图像,具有原始图像、损坏图像及其他辅助信息的配对。在数据集的基础上,我们进一步开发了一种新颖的神经框架——全局结构引导扩散模型(GSDM),作为一种潜在解决方案。所提出的GSDM利用文本的全局结构作为先验,开发了一种高效的扩散模型来恢复干净文本。通过全面的实证研究证明了我们方法的有效性,包括在识别准确率和图像质量上的显著提升。这些发现不仅突显了我们方法的有效性,也强调了其在增强更广泛的文本图像理解与处理领域方面的潜力。代码和数据集可在以下地址获取:https://github.com/blackprotoss/GSDM。

英文摘要:

Real-world text can be damaged by corrosion issues caused by environmental or human factors, which hinder the preservation of the complete styles of texts, e.g., texture and structure. These corrosion issues, such as graffiti signs and incomplete signatures, bring difficulties in understanding the texts, thereby posing significant challenges to downstream applications, e.g., scene text recognition and signature identification. Notably, current inpainting techniques often fail to adequately address this problem and have difficulties restoring accurate text images along with reasonable and consistent styles. Formulating this as an open problem of text image inpainting, this paper aims to build a benchmark to facilitate its study. In doing so, we establish two specific text inpainting datasets which contain scene text images and handwritten text images, respectively. Each of them includes images revamped by real-life and synthetic datasets, featuring pairs of original images, corrupted images, and other assistant information. On top of the datasets, we further develop a novel neural framework, Global Structure-guided Diffusion Model (GSDM), as a potential solution. Leveraging the global structure of the text as a prior, the proposed GSDM develops an efficient diffusion model to recover clean texts. The efficacy of our approach is demonstrated by thorough empirical study, including a substantial boost in both recognition accuracy and image quality. These findings not only highlight the effectiveness of our method but also underscore its potential to enhance the broader field of text image understanding and processing. Code and datasets are available at: https://github.com/blackprotoss/GSDM.

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

↑