{"id": "http://arxiv.org/abs/2409.06065v1", "title": "DiffusionPen: Towards Controlling the Style of Handwritten Text Generation", "abstract": "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.", "published_at": "2024-09-09T20:58:25+00:00", "source_updated_at": null, "source_url": "https://arxiv.org/abs/2409.06065v1", "source_hash": "9bb0242a78e7ebaee96ff21431e420322da47eca635f678932c5fe70bd32e696", "source_version": "v1", "full_text_available": true, "evidence_kind": "full_text_excerpt", "analysis_scope": "full_text_excerpt", "scope": "core", "topics": ["latent-diffusion"], "code_url": "https://github.com/koninik/DiffusionPen", "has_code": true, "indexable": true, "authors": [], "related_ids": ["http://arxiv.org/abs/2608.02602v1", "http://arxiv.org/abs/2605.27487v1", "http://arxiv.org/abs/2605.07933v1"], "related_work": {"version": "related-work-v1", "status": "not_assessed", "reason": "missing_context", "items": []}, "review": null, "full_text_brief": null, "explanations": {}, "resources": {"version": "paper-resources-v1", "source_hash": "9bb0242a78e7ebaee96ff21431e420322da47eca635f678932c5fe70bd32e696", "evidence_kind": "full_text_excerpt", "availability": "not_checked", "limited": false, "items": [{"origin": "source_excerpt", "evidence": "nerated data. Extensive experiments using IAM offline handwrit-\ning database show that our method outperforms existing methods qual-\nitatively and quantitatively, and its additional generated data can im-\nprove the performance of Handwriting Text Recognition (HTR) systems.\nThe code is available at: https://github.com/koninik/DiffusionPen.\n\nKeywords: Handwriting Generation · Latent Diffusion Models · Few-\nshot Style Representation\n\n### 1 Introduction\n\nHandwritten Text Generation (HTG) or Styled HTG is a challenging task re-\ncently gaining increased attention. The challenge lies in preserving the read-\nability of specific textual cont", "url": "https://github.com/koninik/DiffusionPen", "kind": "code", "span": [1232, 1872], "evidence_hash": "c169725f78759a831a44c710ede8b8f5d4a445ddf0c307f3ea89b788b9ee4814"}]}, "slug": "2409.06065-diffusionpen-towards-controlling-the-style-of-handwritten-text-generation"}