TL;DR
This paper tackles the challenge of automatically identifying the type of a single character (handwritten/printed Chinese, or printed Chinese/English) without relying on the surrounding text. They achieve high accuracy (over 98%) by combining novel stroke width normalization, robust feature extraction (run-length histograms, weighted chain codes, stroke density), and a hybrid classifier (Fisher + SVM).
What Problem Does This Paper Address?
Modern Optical Character Recognition (OCR) systems often require users to specify the character type (e.g., script, handwritten vs. printed) before processing. This is inconvenient, especially when dealing with mixed-script documents or forms with limited character fields. While some research exists on script identification for entire documents or text lines, identifying the type of a single character independently is less explored. This paper aims to fill this gap by developing a method for single-character type identification, specifically focusing on distinguishing between handwritten and printed Chinese characters, and between printed Chinese and English characters.
Methods
The authors propose a multi-stage approach:
- Stroke Width Normalization: A modified version of M.D. Garris's method is used. Crucially, it accounts for the differing stroke widths of horizontal and vertical strokes in some Chinese fonts, processing them independently based on run-length histograms.
- Feature Extraction:
- Handwritten/Printed Chinese: They extract 20 features from four run-length histograms (horizontal, vertical, 45°, -45°), and four weighted chain code features capturing local contour deformities. Aspect ratio is also included, totaling 25 features.
- Printed Chinese/English: Features include aspect ratio, black pixel density, connected component number, hole number, run-length histogram features, and stroke density histogram features.
- Classification: A hybrid approach is employed.
- Fisher Classifier: Used for initial, fast classification. It projects features onto an axis maximizing inter-class diversity.
- SVM Classifier: Used for more difficult cases where the Fisher classifier's confidence is below a threshold (e.g., 85% or 90%). This combination aims to balance speed and accuracy.
Datasets
- Handwritten/Printed Chinese:
- Training: ~20,000 samples each of handwritten and printed Chinese characters.
- Testing: The remaining samples from a total of 375,487 printed and 371,186 handwritten Chinese character samples, covering 3755 different characters.
- Printed Chinese/English:
- Training: ~20,000 samples each of printed Chinese and printed English characters.
- Testing: The remaining samples from a total of 422,000 printed English character samples.
Key Insights and Ideas
- Importance of Intra-character Features: The paper highlights that relying solely on inter-character properties (like text line arrangement) for handwritten/printed identification is insufficient. Intra-character features are crucial for accurate single-character classification.
- Handling Font Variance: The stroke width normalization technique, specifically addressing differential treatment of horizontal and vertical strokes, is key to handling the diverse stroke widths in Chinese fonts.
- Hybrid Classifier Synergy: Combining a fast classifier like Fisher with a more powerful but slower one like SVM offers a practical solution to achieve both high accuracy and reasonable processing speed. The dynamic thresholding allows for a flexible tradeoff.
- Error Concentration: A significant insight is that errors are often concentrated on a small subset of characters that are either very similar to other characters (e.g., "K" and "卜") or have ambiguous stroke patterns.
Key Results
- Handwritten/Printed Chinese Identification:
- Fisher Classifier: ~96.0% (handwritten), ~96.5% (printed) on test set.
- SVM Classifier: ~98.2% (handwritten), ~99.1% (printed) on test set.
- Fisher + SVM (85% threshold): ~97.8% (handwritten), ~98.7% (printed) on test set, with a speed of ~560 characters/second.
- Printed Chinese/English Identification:
- Fisher Classifier: ~97.1% (Chinese), ~96.6% (English) on test set.
- SVM Classifier: ~99.3% (Chinese), ~99.3% (English) on test set.
- Fisher + SVM (90% threshold): ~99.2% (Chinese), ~98.6% (English) on test set, with a speed of ~650 characters/second.
- Overall Accuracy: The combined Fisher + SVM approach achieves identification rates as high as 98.7% for handwritten/printed Chinese and 99.2% for printed Chinese/English.
Limitations and Future Work
- Local Features for Handwritten: The authors suggest finding more powerful local features to better capture the distortions in handwritten Chinese characters.
- Within-Class Variance: The large within-class variance of Chinese characters is a significant challenge. They propose clustering characters into groups (e.g., simple, middle, complex strokes) and training separate classifiers for each cluster to improve accuracy.
- Intrinsic Similarity: Further research is needed to address the intrinsic visual similarity between certain Chinese and English characters.
- Speed of SVM: While SVM provides high accuracy, its classification speed is noted as a limitation, which the hybrid approach aims to mitigate.
Summary updated