Beyond Isolated Words: Diffusion Brush for Handwritten Text-Line Generation

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Dai, Gang, Zhang, Yifan, Qin, Yutao, Guo, Qiangya, Huang, Shuangping, Yan, Shuicheng
Format: Preprint
Veröffentlicht: 2025
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866911093074427904
author Dai, Gang
Zhang, Yifan
Qin, Yutao
Guo, Qiangya
Huang, Shuangping
Yan, Shuicheng
author_facet Dai, Gang
Zhang, Yifan
Qin, Yutao
Guo, Qiangya
Huang, Shuangping
Yan, Shuicheng
contents Existing handwritten text generation methods primarily focus on isolated words. However, realistic handwritten text demands attention not only to individual words but also to the relationships between them, such as vertical alignment and horizontal spacing. Therefore, generating entire text lines emerges as a more promising and comprehensive task. However, this task poses significant challenges, including the accurate modeling of complex style patterns encompassing both intra- and inter-word relationships, and maintaining content accuracy across numerous characters. To address these challenges, we propose DiffBrush, a novel diffusion-based model for handwritten text-line generation. Unlike existing methods, DiffBrush excels in both style imitation and content accuracy through two key strategies: (1) content-decoupled style learning, which disentangles style from content to better capture intra-word and inter-word style patterns by using column- and row-wise masking; and (2) multi-scale content learning, which employs line and word discriminators to ensure global coherence and local accuracy of textual content. Extensive experiments show that DiffBrush excels in generating high-quality text lines, particularly in style reproduction and content preservation. Code is available at https://github.com/dailenson/DiffBrush.
format Preprint
id arxiv_https___arxiv_org_abs_2508_03256
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Beyond Isolated Words: Diffusion Brush for Handwritten Text-Line Generation
Dai, Gang
Zhang, Yifan
Qin, Yutao
Guo, Qiangya
Huang, Shuangping
Yan, Shuicheng
Computer Vision and Pattern Recognition
Existing handwritten text generation methods primarily focus on isolated words. However, realistic handwritten text demands attention not only to individual words but also to the relationships between them, such as vertical alignment and horizontal spacing. Therefore, generating entire text lines emerges as a more promising and comprehensive task. However, this task poses significant challenges, including the accurate modeling of complex style patterns encompassing both intra- and inter-word relationships, and maintaining content accuracy across numerous characters. To address these challenges, we propose DiffBrush, a novel diffusion-based model for handwritten text-line generation. Unlike existing methods, DiffBrush excels in both style imitation and content accuracy through two key strategies: (1) content-decoupled style learning, which disentangles style from content to better capture intra-word and inter-word style patterns by using column- and row-wise masking; and (2) multi-scale content learning, which employs line and word discriminators to ensure global coherence and local accuracy of textual content. Extensive experiments show that DiffBrush excels in generating high-quality text lines, particularly in style reproduction and content preservation. Code is available at https://github.com/dailenson/DiffBrush.
title Beyond Isolated Words: Diffusion Brush for Handwritten Text-Line Generation
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2508.03256