Table of Contents
Fetching ...

SceneTextStylizer: A Training-Free Scene Text Style Transfer Framework with Diffusion Model

Honghui Yuan, Keiji Yanai

TL;DR

Extensive experiments demonstrate that the SceneTextStylizer method achieves superior performance in scene text style transformation, outperforming existing state-of-the-art methods in both visual fidelity and text preservation.

Abstract

With the rapid development of diffusion models, style transfer has made remarkable progress. However, flexible and localized style editing for scene text remains an unsolved challenge. Although existing scene text editing methods have achieved text region editing, they are typically limited to content replacement and simple styles, which lack the ability of free-style transfer. In this paper, we introduce SceneTextStylizer, a novel training-free diffusion-based framework for flexible and high-fidelity style transfer of text in scene images. Unlike prior approaches that either perform global style transfer or focus solely on textual content modification, our method enables prompt-guided style transformation specifically for text regions, while preserving both text readability and stylistic consistency. To achieve this, we design a feature injection module that leverages diffusion model inversion and self-attention to transfer style features effectively. Additionally, a region control mechanism is introduced by applying a distance-based changing mask at each denoising step, enabling precise spatial control. To further enhance visual quality, we incorporate a style enhancement module based on the Fourier transform to reinforce stylistic richness. Extensive experiments demonstrate that our method achieves superior performance in scene text style transformation, outperforming existing state-of-the-art methods in both visual fidelity and text preservation.

SceneTextStylizer: A Training-Free Scene Text Style Transfer Framework with Diffusion Model

TL;DR

Extensive experiments demonstrate that the SceneTextStylizer method achieves superior performance in scene text style transformation, outperforming existing state-of-the-art methods in both visual fidelity and text preservation.

Abstract

With the rapid development of diffusion models, style transfer has made remarkable progress. However, flexible and localized style editing for scene text remains an unsolved challenge. Although existing scene text editing methods have achieved text region editing, they are typically limited to content replacement and simple styles, which lack the ability of free-style transfer. In this paper, we introduce SceneTextStylizer, a novel training-free diffusion-based framework for flexible and high-fidelity style transfer of text in scene images. Unlike prior approaches that either perform global style transfer or focus solely on textual content modification, our method enables prompt-guided style transformation specifically for text regions, while preserving both text readability and stylistic consistency. To achieve this, we design a feature injection module that leverages diffusion model inversion and self-attention to transfer style features effectively. Additionally, a region control mechanism is introduced by applying a distance-based changing mask at each denoising step, enabling precise spatial control. To further enhance visual quality, we incorporate a style enhancement module based on the Fourier transform to reinforce stylistic richness. Extensive experiments demonstrate that our method achieves superior performance in scene text style transformation, outperforming existing state-of-the-art methods in both visual fidelity and text preservation.

Paper Structure

This paper contains 20 sections, 5 equations, 6 figures, 2 tables.

Figures (6)

  • Figure 1: Provide a scene text image and style prompt, our method can convert the text part of the image to the corresponding style of the prompt. And ensuring the background and text content remain unchanged.
  • Figure 2: The framework of our method, consisting of the three denoising paths, Distance mask process, Feature Injection module targeting the text portion, and frequency module of U-Net in the main path.
  • Figure 3: Qualitative comparison with state-of-the-art methods.
  • Figure 4: Qualitative evaluation results of ablation studies. The input prompts are under the images.
  • Figure 5: Results of the discussion about the distance mask and feature injection model. The input prompt of the first line is "A watercolor painting", and the second line is "A B$\&$W line drawing".
  • ...and 1 more figures