WordStylist: Styled Verbatim Handwritten Text Generation with Latent Diffusion Models

Konstantina Nikolaidou, George Retsinas, Vincent Christlein, Mathias Seuret, Giorgos Sfikas +3 more
3/29/2023
45 citations
cs.CV
diffusion-flow

Official code: koninik/WordStylist (82 stars, Python, MIT, PyTorch, last commit 2024-06-25).

Abstract

Text-to-Image synthesis is the task of generating an image according to a specific text description. Generative Adversarial Networks have been considered the standard method for image synthesis virtually since their introduction.

Show full abstract

Denoising Diffusion Probabilistic Models are recently setting a new baseline, with remarkable results in Text-to-Image synthesis, among other fields. Aside its usefulness per se, it can also be particularly relevant as a tool for data augmentation to aid training models for other document image processing tasks. In this work, we present a latent diffusion-based method for styled text-to-text-content-image generation on word-level. Our proposed method is able to generate realistic word image samples from different writer styles, by using class index styles and text content prompts without the need of adversarial training, writer recognition, or text recognition. We gauge system performance with the Fréchet Inception Distance, writer recognition accuracy, and writer retrieval. We show that the proposed model produces samples that are aesthetically pleasing, help boosting text recognition performance, and get similar writer retrieval score as real data. Code is available at: https://github.com/koninik/WordStylist.

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

Official PyTorch Implementation of "WordStylist: Styled Verbatim Handwritten Text Generation with Latent Diffusion Models" - ICDAR 2023

8213PythonApr 28, 20232 years agoMIT
diffusion-modelshandwriting-generationiam-datasetlatent-diffusionpytorch+1 more

Similar Papers

Cite this paper

@article{nikolaidou2023wordstylist,
  title  = {WordStylist: Styled Verbatim Handwritten Text Generation with Latent Diffusion Models},
  author = {Konstantina Nikolaidou and George Retsinas and Vincent Christlein and Mathias Seuret and Giorgos Sfikas and Elisa Barney Smith and Hamam Mokayed and Marcus Liwicki},
  year   = {2023},
  eprint = {2303.16576},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.16576v2}
}

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

Discussion