[Paper Review] Handwritten and Printed Text Separation in Real Document
This paper proposes a robust handwritten and printed text separation method for real-world noisy documents using double run-length smearing to extract pseudo-words, followed by multi-class SVM with Gaussian kernel for initial classification and k-NN with spatial constraints for context-aware label propagation. The approach achieves 90.68% average recognition rate even with small training datasets, demonstrating strong performance on complex administrative documents.
The aim of the paper is to separate handwritten and printed text from a real document embedded with noise, graphics including annotations. Relying on run-length smoothing algorithm (RLSA), the extracted pseudo-lines and pseudo-words are used as basic blocks for classification. To handle this, a multi-class support vector machine (SVM) with Gaussian kernel performs a first labelling of each pseudo-word including the study of local neighbourhood. It then propagates the context between neighbours so that we can correct possible labelling errors. Considering running time complexity issue, we propose linear complexity methods where we use k-NN with constraint. When using a kd-tree, it is almost linearly proportional to the number of pseudo-words. The performance of our system is close to 90%, even when very small learning dataset where samples are basically composed of complex administrative documents.
Motivation & Objective
- To address the challenge of separating handwritten and printed text in real-world documents that contain noise, graphics, and annotations.
- To develop a fast, scalable method suitable for industrial deployment with minimal parameter tuning.
- To improve classification accuracy by leveraging local contextual information through neighbor-based label propagation.
- To maintain high performance with limited training data, particularly for complex administrative document types.
- To reduce computational complexity while preserving accuracy through linear-time k-NN with kd-tree indexing.
Proposed method
- Preprocessing involves edge removal, noise filtering using modified k-fill, slope detection via RAST, and de-skewing with modified k-fill.
- Double run-length smearing (RLSA) is applied to segment lines and then refine word boundaries using histogram-based gap analysis to distinguish inter-character and inter-word spacing.
- Pseudo-words are extracted as basic units, and descriptors are computed with linear complexity relative to pixel count.
- A multi-class SVM with Gaussian kernel classifies each pseudo-word based on local features, providing initial labels.
- Label propagation uses k-NN with spatial constraints and confidence weighting (Gaussian or polynomial) to correct misclassifications using neighboring pseudo-word labels.
- A kd-tree data structure is employed to achieve near-linear time complexity proportional to the number of pseudo-words.
Experimental results
Research questions
- RQ1Can a double RLSA-based pseudo-word segmentation method effectively handle variable spacing in handwritten and printed text within noisy documents?
- RQ2How does context-aware label propagation via constrained k-NN improve classification accuracy compared to isolated classification?
- RQ3To what extent can a multi-class SVM with Gaussian kernel generalize on small training datasets for H&P separation?
- RQ4What is the impact of different confidence weighting functions (Gaussian, polynomial) on final recognition performance?
- RQ5Can the system maintain high accuracy while achieving linear-time complexity suitable for real-time industrial applications?
Key findings
- The proposed method achieves an average recognition rate of 90.68% using k-NN with constraints, outperforming double smearing (89.48%) and other confidence-based methods.
- The k-NN with constraints method improves handwritten recognition from 93.4% to 99.3% and average performance from 89.54% to 90.68%.
- The Gaussian and polynomial confidence weighting functions degrade performance compared to the constrained k-NN approach, likely due to over-reliance on single neighbors.
- SVM with Gaussian kernel provides the best initial classification, followed closely by k-NN, indicating strong potential for neural network integration.
- The system maintains high performance (90.68% average) even with a small learning dataset of only 75 documents, demonstrating robustness to limited data.
- Visual examples in Figure 4 confirm the method’s robustness on complex, real-world administrative documents with overlapping graphics and noise.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.