Handwritten and machine-printed text discrimination using a template matching approach

Mehryar Emambakhsh, Yulan He, Ian Nabney

Research output: Chapter in Book/Published conference outputConference publication


We propose a novel template matching approach for the discrimination of handwritten and machine-printed text. We first pre-process the scanned document images by performing denoising, circles/lines exclusion and word-block level segmentation. We then align and match characters in a flexible sized gallery with the segmented regions, using parallelised normalised cross-correlation. The experimental results over the Pattern Recognition & Image Analysis Research Lab-Natural History Museum (PRImA-NHM) dataset show remarkably high robustness of the algorithm in classifying cluttered, occluded and noisy samples, in addition to those with significant high missing data. The algorithm, which gives 84.0% classification rate with false positive rate 0.16 over the dataset, does not require training samples and generates compelling results as opposed to the training-based approaches, which have used the same benchmark.

Original languageEnglish
Title of host publicationProceedings : 12th IAPR International Workshop on Document Analysis Systems, DAS 2016
Number of pages6
ISBN (Print)978-1-5090-1792-8
Publication statusPublished - 13 Jun 2016
Event12th IAPR International Workshop on Document Analysis Systems - Santorini, Greece
Duration: 11 Apr 201614 Apr 2016


Workshop12th IAPR International Workshop on Document Analysis Systems
Abbreviated titleDAS 2016

Bibliographical note

-© 2016 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works.


  • classification
  • handwritten
  • machine-printed
  • OCR
  • shape analysis
  • template matching


Dive into the research topics of 'Handwritten and machine-printed text discrimination using a template matching approach'. Together they form a unique fingerprint.

Cite this