TextMastero: Mastering High-Quality Scene Text Editing in Diverse Languages and Styles

Tong Wang, Xiaochao Qu, Ting Liu
8/20/2024
cs.CV

No confident code implementation found for this paper.

Abstract

Scene text editing aims to modify texts on images while maintaining the style of newly generated text similar to the original. Given an image, a target area, and target text, the task produces an output image with the target text in the selected area, replacing the original. This task has been studied extensively, with initial success using Generative Adversarial Networks (GANs) to balance text fidelity and style similarity. However, GAN-based methods struggled with complex backgrounds or text styles. Recent works leverage diffusion models, showing improved results, yet still face challenges, especially with non-Latin languages like CJK characters (Chinese, Japanese, Korean) that have complex glyphs, often producing inaccurate or unrecognizable characters. To address these issues, we present \emph{TextMastero} - a carefully designed multilingual scene text editing architecture based on latent diffusion models (LDMs). TextMastero introduces two key modules: a glyph conditioning module for fine-grained content control in generating accurate texts, and a latent guidance module for providing comprehensive style information to ensure similarity before and after editing. Both qualitative and quantitative experiments demonstrate that our method surpasses all known existing works in text fidelity and style similarity.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{wang2024textmastero,
  title  = {TextMastero: Mastering High-Quality Scene Text Editing in Diverse Languages and Styles},
  author = {Tong Wang and Xiaochao Qu and Ting Liu},
  year   = {2024},
  eprint = {2408.10623},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.10623v1}
}

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/2408.10623.svg)](https://codeofpaper.com/paper/2408.10623)

Discussion