Back to Search Start Over

Transformer-based stroke relation encoding for online handwriting and sketches.

Authors :
Liu, Jing-Yu
Zhang, Yan-Ming
Yin, Fei
Liu, Cheng-Lin
Source :
Pattern Recognition. Apr2024, Vol. 148, pN.PAG-N.PAG. 1p.
Publication Year :
2024

Abstract

Stroke classification for online handwriting and sketches, aimed at grouping strokes into different semantic categories, has drawn considerable attention due to its wide applications. This task is challenging since individual strokes look similar and are easily confused with each other. The key is to consider both the individual strokes and the contextual information jointly for making prediction. Previous methods are insufficient in modeling and exploiting complex contextual information of strokes. To overcome this limitation, we propose a Transformer-based model for Online Handwriting and Sketches (T-OHS), with novel relation encoding schemes to take advantage of temporal and spatial information in stroke sequence. Particularly, we introduce a coarse-to-fine hierarchical encoding approach based on the polar coordinate system for precisely modeling spatial relations between strokes. Experiments on three types of handwriting data, including online handwritten documents, diagrams, and sketches, demonstrate that our method is universal and provides state-of-the-art performance. • We propose a novel stroke classification method for online handwriting and sketches. • We design an effective encoding scheme to represent the spatial relations among strokes. • Extensive experiments demonstrate that our method is universal and provides the SOTA performance. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
00313203
Volume :
148
Database :
Academic Search Index
Journal :
Pattern Recognition
Publication Type :
Academic Journal
Accession number :
174791762
Full Text :
https://doi.org/10.1016/j.patcog.2023.110131