Zero-Shot Paragraph-level Handwriting Imitation with Latent Diffusion Models
The imitation of cursive handwriting is mainly limited to generating handwritten words or lines. Multiple synthetic outputs must be stitched together to create paragraphs or whole pages, whereby consistency and layout information are lost. To close this gap, we propose a method for imitating handwri...
Gespeichert in:
Hauptverfasser: | , , , , , , , |
---|---|
Format: | Artikel |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The imitation of cursive handwriting is mainly limited to generating
handwritten words or lines. Multiple synthetic outputs must be stitched
together to create paragraphs or whole pages, whereby consistency and layout
information are lost. To close this gap, we propose a method for imitating
handwriting at the paragraph level that also works for unseen writing styles.
Therefore, we introduce a modified latent diffusion model that enriches the
encoder-decoder mechanism with specialized loss functions that explicitly
preserve the style and content. We enhance the attention mechanism of the
diffusion model with adaptive 2D positional encoding and the conditioning
mechanism to work with two modalities simultaneously: a style image and the
target text. This significantly improves the realism of the generated
handwriting. Our approach sets a new benchmark in our comprehensive evaluation.
It outperforms all existing imitation methods at both line and paragraph
levels, considering combined style and content preservation. |
---|---|
DOI: | 10.48550/arxiv.2409.00786 |