Trajectory-based Handwritting Recognition via Spatiotemporal Convolution on Distance Matrix

In this paper, the handwriting recognition task is seen as a trajectory classification problem.Compared to the 2D image of a digit, a trajectory is a highly efficient representation since only a small fraction of the trajectory's points are used.When identifying handwriting styles, the temporal order of trajectory points is crucial.However, in semantic recognition tasks, where the goal is to understand the semantic meaning conveyed by the handwriting characters, the trajectory's shape should dictate its classification, regardless of the writing order.Therefore, existing trajectory classification methods like long short-term memory recurrent neural network (LSTM) or dynamic time warping (DTW) heavily rely on temporal information, which may not be ideal for semantic recognition tasks, where shape is the key determinant of trajectory class.The model proposed in this paper addresses this issue by extracting features of shape similarity in different combinations of sub-trajectories from the distance matrix of paired trajectories.We propose STKNet, a CNN model with special convolution kernels that can extract spatial and temporal features from the distance matrix of two trajectories efficiently.We use STKNet to compute the distances between handwritten trajectories, and then complete the classification using the -nearest neighbor method, calling the whole process STKNet+NN.We evaluate our model on the MNIST stroke sequence dataset, which consists of trajectory data recovered from the original MNIST image data.Our experiment shows that training on trajectories as inputs can achieve near state-of-the-art prediction accuracy with only 1,200 trajectories in the training sample, a relatively small number of labeled samples compared to 60,000 MNIST training images.This can be attributed to the richer information contained in trajectories.The experiment also shows that our method still has high accuracy in recognizing digits with many different writing styles.

Authors

Institutions

Publication Details

Published
2024-09-20
DOI
https://doi.org/10.1145/3703935.3704002
Citations
1
Primary Topic
Hand Gesture Recognition Systems
Type
article
Field-Weighted Citation Impact
0.37
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Trajectory-based Handwritting Recognition via Spatiotemporal Convolution on Distance Matrix

Philipp Doebler, He Huang
1 citations
Hand Gesture Recognition Systems
0.37
article

Trajectory-based Handwritting Recognition via Spatiotemporal Convolution on Distance Matrix

Philipp Doebler, He Huang
article en
1 citations

Abstract

In this paper, the handwriting recognition task is seen as a trajectory classification problem.Compared to the 2D image of a digit, a trajectory is a highly efficient representation since only a small fraction of the trajectory's points are used.When identifying handwriting styles, the temporal order of trajectory points is crucial.However, in semantic recognition tasks, where the goal is to understand the semantic meaning conveyed by the handwriting characters, the trajectory's shape should dictate its classification, regardless of the writing order.Therefore, existing trajectory classification methods like long short-term memory recurrent neural network (LSTM) or dynamic time warping (DTW) heavily rely on temporal information, which may not be ideal for semantic recognition tasks, where shape is the key determinant of trajectory class.The model proposed in this paper addresses this issue by extracting features of shape similarity in different combinations of sub-trajectories from the distance matrix of paired trajectories.We propose STKNet, a CNN model with special convolution kernels that can extract spatial and temporal features from the distance matrix of two trajectories efficiently.We use STKNet to compute the distances between handwritten trajectories, and then complete the classification using the -nearest neighbor method, calling the whole process STKNet+NN.We evaluate our model on the MNIST stroke sequence dataset, which consists of trajectory data recovered from the original MNIST image data.Our experiment shows that training on trajectories as inputs can achieve near state-of-the-art prediction accuracy with only 1,200 trajectories in the training sample, a relatively small number of labeled samples compared to 60,000 MNIST training images.This can be attributed to the richer information contained in trajectories.The experiment also shows that our method still has high accuracy in recognizing digits with many different writing styles.

TU Dortmund University (DE)
Openalex Percentile: Top 34%
Hand Gesture Recognition Systems
0.37
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.