Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

DiffusionPen: Towards Controlling the Style of Handwritten Text Generation

About

Handwritten Text Generation (HTG) conditioned on text and style is a challenging task due to the variability of inter-user characteristics and the unlimited combinations of characters that form new words unseen during training. Diffusion Models have recently shown promising results in HTG but still remain under-explored. We present DiffusionPen (DiffPen), a 5-shot style handwritten text generation approach based on Latent Diffusion Models. By utilizing a hybrid style extractor that combines metric learning and classification, our approach manages to capture both textual and stylistic characteristics of seen and unseen words and styles, generating realistic handwritten samples. Moreover, we explore several variation strategies of the data with multi-style mixtures and noisy embeddings, enhancing the robustness and diversity of the generated data. Extensive experiments using IAM offline handwriting database show that our method outperforms existing methods qualitatively and quantitatively, and its additional generated data can improve the performance of Handwriting Text Recognition (HTR) systems. The code is available at: https://github.com/koninik/DiffusionPen.

Konstantina Nikolaidou, George Retsinas, Giorgos Sfikas, Marcus Liwicki• 2024

Related benchmarks

TaskDatasetResultRank
Handwritten Text GenerationIAM word-level
FID15.54
16
Handwriting generationIAM (test)
FID18.94
16
Handwriting SynthesisIAM Lines
FID12.89
8
Handwritten Text GenerationIAM Lines
FID12.89
8
Handwriting SynthesisRIMES line-level
FID89.79
8
Handwritten Text GenerationRIMES Lines (test)
FID89.79
8
Line-level Text-to-Image SynthesisKaraoke Handwritten (test)
FID34.19
8
Styled Text GenerationKaraoke Calligraphy
FID34.19
8
Handwriting SynthesisCVL line-level
FID40.4
8
Handwritten Text GenerationCVL Lines (test)
FID40.4
8
Showing 10 of 16 rows

Other info

Follow for update