paper-with-me

Papers

WriteViT: Handwritten Text Generation with Vision Transformer

2025-05-19 · Dang Hoai Nam, Huynh Tong Dang Khoa, Vo Nguyen Le Duy

Humans can quickly generalize handwriting styles from a single example by intuitively separating content from style. Machines, however, struggle with this task, especially in low-data settings, often missing subtle spatial and stylistic cues. Motivated by this gap, we introduce WriteViT, a one-shot handwritten text synthesis framework that incorporates Vision Transformers (ViT), a family of models that have shown strong performance across various computer vision tasks. WriteViT integrates a ViT-based Writer Identifier for extracting style embeddings, a multi-scale generator built with Transformer encoder-decoder blocks enhanced by conditional positional encoding (CPE), and a lightweight ViT-based recognizer. While previous methods typically rely on CNNs or CRNNs, our design leverages transformers in key components to better capture both fine-grained stroke details and higher-level style information. Although handwritten text synthesis has been widely explored, its application to Vietnamese -- a language rich in diacritics and complex typography -- remains limited. Experiments on Vietnamese and English datasets demonstrate that WriteViT produces high-quality, style-consistent handwriting while maintaining strong recognition performance in low-resource scenarios. These results highlight the promise of transformer-based designs for multilingual handwriting generation and efficient style adaptation.

📄 PDF Abstract BibTeX arXiv:2505.13235

Code (1)

hnam-1765/writevit 공식 구현 pytorch

Tasks

Handwriting generationText Generation

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Depthwise Convolution Depthwise Convolution is a type of convolution where we apply a single convolutional filter for each input channel. In the regular 2D…
Positional Encoding Generator Positional Encoding Generator, or PEG, is a module used in the Conditional Position Encoding position…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Multi-Head Attention 설명 없음
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…

Similar Papers 제목 키워드 기반

Handwriting Transformers

2021-04-08 · ICCV 2021 10 · Ankan Kumar Bhunia, Salman Khan, Hisham Cholakkal, Rao Muhammad Anwer 외

We propose a novel transformer-based styled handwritten text image generation approach, HWT, that strives to learn both style-content entanglement as well as global and local writing style patterns. The proposed HWT capt…

DecoderImage GenerationText Generation

ScriptViT: Vision Transformer-Based Personalized Handwriting Generation

2025-11-23 · Sajjan Acharya, Rajendra Baskota arxiv

Styled handwriting generation aims to synthesize handwritten text that looks both realistic and aligned with a specific writer's style. While recent approaches involving GAN, transformer and diffusion-based models have m…

Style Transfer

Transformer based Urdu Handwritten Text Optical Character Reader

2022-06-09 · Mohammad Daniyal Shaiq, Musa Dildar Ahmed Cheema, Ali Kamal

Extracting Handwritten text is one of the most important components of digitizing information and making it available for large scale setting. Handwriting Optical Character Reader (OCR) is a research problem in computer …

Natural Language UnderstandingOptical Character Recognition (OCR)Position

Automated LaTeX Code Generation from Handwritten Math Expressions Using Vision Transformer

2024-12-05 · Jayaprakash Sundararaj, Akhil Vyas, Benjamin Gonzalez-Maldonado

Transforming mathematical expressions into LaTeX poses a significant challenge. In this paper, we examine the application of advanced transformer-based architectures to address the task of converting handwritten or digit…

Code GenerationDecoderMath

Handwritten Text Recognition for Low Resource Languages

2025-12-01 · Sayantan Dey, Alireza Alaei, Partha Pratim Roy arxiv

Despite considerable progress in handwritten text recognition, paragraph-level handwritten text recognition, especially in low-resource languages, such as Hindi, Urdu and similar scripts, remains a challenging problem. T…

Handwritten Text Recognition