TextDiff: Mask-Guided Residual Diffusion Models for Scene Text Image Super-Resolution

Baolin Liu, Zongyuan Yang, Pengfei Wang, Junjie Zhou, Ziqi Liu +3 more
8/13/2023
cs.CV

Official code: Lenubolim/TextDiff (25 stars, PyTorch, last commit 2024-04-24).

Abstract

The goal of scene text image super-resolution is to reconstruct high-resolution text-line images from unrecognizable low-resolution inputs. The existing methods relying on the optimization of pixel-level loss tend to yield text edges that exhibit a notable degree of blurring, thereby exerting a substantial impact on both the readability and recognizability of the text. To address these issues, we propose TextDiff, the first diffusion-based framework tailored for scene text image super-resolution. It contains two modules: the Text Enhancement Module (TEM) and the Mask-Guided Residual Diffusion Module (MRD). The TEM generates an initial deblurred text image and a mask that encodes the spatial location of the text. The MRD is responsible for effectively sharpening the text edge by modeling the residuals between the ground-truth images and the initial deblurred images. Extensive experiments demonstrate that our TextDiff achieves state-of-the-art (SOTA) performance on public benchmark datasets and can improve the readability of scene text images. Moreover, our proposed MRD module is plug-and-play that effectively sharpens the text edges produced by SOTA methods. This enhancement not only improves the readability and recognizability of the results generated by SOTA methods but also does not require any additional joint training. Available Codes:https://github.com/Lenubolim/TextDiff.

View on arXivView PDF

Code Implementations(1)

Lenubolim/TextDiffOfficial100%
PyTorch

Official code implementation of " TextDiff: Mask-Guided Residual Diffusion Models for Scene Text Image " in Pattern Recognition

250Aug 11, 20232 years ago
datasetsdeep-learningdeep-neural-networksdiffusion-modelsimage-to-image+8 more

Similar Papers

Cite this paper

@article{liu2023textdiff,
  title  = {TextDiff: Mask-Guided Residual Diffusion Models for Scene Text Image Super-Resolution},
  author = {Baolin Liu and Zongyuan Yang and Pengfei Wang and Junjie Zhou and Ziqi Liu and Ziyi Song and Yan Liu and Yongping Xiong},
  year   = {2023},
  eprint = {2308.06743},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.06743v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2308.06743.svg)](https://codeofpaper.com/paper/2308.06743)

Discussion