English

TextCtrl: Diffusion-based Scene Text Editing with Prior Guidance Control

Computer Vision and Pattern Recognition 2024-10-15 v1

Abstract

Centred on content modification and style preservation, Scene Text Editing (STE) remains a challenging task despite considerable progress in text-to-image synthesis and text-driven image manipulation recently. GAN-based STE methods generally encounter a common issue of model generalization, while Diffusion-based STE methods suffer from undesired style deviations. To address these problems, we propose TextCtrl, a diffusion-based method that edits text with prior guidance control. Our method consists of two key components: (i) By constructing fine-grained text style disentanglement and robust text glyph structure representation, TextCtrl explicitly incorporates Style-Structure guidance into model design and network training, significantly improving text style consistency and rendering accuracy. (ii) To further leverage the style prior, a Glyph-adaptive Mutual Self-attention mechanism is proposed which deconstructs the implicit fine-grained features of the source image to enhance style consistency and vision quality during inference. Furthermore, to fill the vacancy of the real-world STE evaluation benchmark, we create the first real-world image-pair dataset termed ScenePair for fair comparisons. Experiments demonstrate the effectiveness of TextCtrl compared with previous methods concerning both style fidelity and text accuracy.

Keywords

Cite

@article{arxiv.2410.10133,
  title  = {TextCtrl: Diffusion-based Scene Text Editing with Prior Guidance Control},
  author = {Weichao Zeng and Yan Shu and Zhenhang Li and Dongbao Yang and Yu Zhou},
  journal= {arXiv preprint arXiv:2410.10133},
  year   = {2024}
}
R2 v1 2026-06-28T19:19:57.531Z