Stroke-Based Cursive Character Recognition

Kc Santosh, E. IwataarXiv 2013

Abstract

Handwriting recognition, the machine-based interpretation of human script, is categorized into off-line and on-line domains. This paper presents a robust framework for on-line Devanagari character recognition that is "stroke number and order free." By combining Dynamic Time Warping (DTW) for stroke matching with a $2 \times 3$ spatial grid to model the relative positions of strokes, the proposed system achieves high accuracy while maintaining computational efficiency.

Introduction

On-line handwriting recognition captures the trajectory of a pen in real-time, offering a dynamic data stream compared to static off-line scans. Devanagari, the script used for Hindi, Sanskrit, and several other Indian languages, presents unique challenges for this task. It contains over 500 symbols with intricate structures, most notably the shirorekha—a horizontal header line from which the character body is suspended.

Examples of Devanagari characters showing structural complexity and variation in handwriting styles.

A primary difficulty in Devanagari recognition is writer variability; different individuals may use a different number of strokes or varying stroke orders to produce the same character. This research aims to create a writer-independent system that remains robust regardless of these natural variations.

Methodology

The authors propose a multi-stage recognition engine that shifts focus from rigid temporal sequences to flexible spatial-structural relationships.

Feature Selection and Spatial Description

Instead of relying solely on coordinates, the system captures pen-tip positions and tangent angles to preserve the directional properties of the writing path. To manage the relative positioning of strokes (e.g., the shirorekha versus the main body), a $2 \times 3$ relational matrix is employed, dividing the character space into Top-Left, Top, Top-Right, Bottom-Left, Bottom, and Bottom-Right sectors.

Matching and Optimization

Dynamic Time Warping (DTW) is used to calculate similarity between non-linear sequences of varying lengths. To ensure real-time viability, the authors implemented the LB_Keogh lower-bounding measure. This technique prunes unnecessary calculations during the matching process, significantly reducing processing time.

The proposed recognition engine architecture, illustrating the flow from input symbol to final classification.

Training

During the learning phase, the system utilizes single-linkage agglomerative hierarchical clustering. This groups similar strokes from specific spatial locations to create representative templates for each character class.

Experimental Results

The system was evaluated using a dataset of 1,800 symbols representing 36 distinct characters, provided by native speakers using a Wacom tablet. The optimized approach achieved an average error rate of only 3.5%, translating to approximately 96.5% to 97% accuracy. Furthermore, the use of LB_Keogh pruning reduced processing time from 4 seconds to 2 seconds per character, making the system suitable for practical applications.

Discussion and Conclusion

The success of this framework lies in its stroke order independence. By prioritizing the spatial relationship between components rather than the order in which they were drawn, the system handles natural writing variations effectively. The shirorekha proved to be a critical feature, often resolving ambiguities between visually similar characters.

Future work will explore more complex spatial models beyond the $2 \times 3$ grid and investigate Inductive Logic Programming (ILP) to better exploit the structural logic of character formations. The authors also intend to expand the system's capabilities to include other cursive scripts.

Summary updated

BibTeX
@misc{santosh2013stroke,
  author = {KC Santosh and E. Iwata},
  title = {{Stroke-Based Cursive Character Recognition}},
  year = {2013},
  eprint = {1304.0421},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1304.0421},
}
Figure