<< Chapter < Page Chapter >> Page >

Give me your digits!: introduction and background

Introduction

Digital technology can allow us to save labor and time through the automation of menial tasks. Here we are developing a program to transcribe digits using a computer and a camera. Computers are notorious for excelling at repeating similar tasks/ instructions. The following modules will describe how we have implemented a rudimentary system to acquire, process, and identify handwritten digits (0-9).

Background

The conversion of handwriting to the digital regime has been implemented industrially by the USPS; more theoretical work has been compiled by academia most notably by Dr. Yann Lecun. We identified and classified handwritten digits through the utilization of the MNIST (modified national institute of standards and technology) database and classifiers – which include feature extractors and identifiers. We also preprocessed input images through the usage of morphological operators. All of the computation was done using Matlab version 7.1. The process we have developed and many like it have its usages in a world which is developing and converting to the digital regime.

Process overview

The systematic process of identifying handwritten digits follows 3 major parts: image acquisition, image processing, and identification.

Image acquisition

Firstly in the project an image must be acquired. This part of the project could have been simplified with the usage of a scanning device. Instead we opted for the usage of a digital camera to make our system more flexible. Along the way we found that the images produced by a digital camera required more rigorous image processing steps due to varying input qualities of images.

Database

The MNIST database: Its extensiveness is described here. We tested our identification algorithms using the database alone.

Image processing

This part of the process deals with converting raw input images into the standard MNIST database format. Most notably here we deal with cleaning up images and use morphological operators to help us separate digits.

Identification algorithms

This part of the process deals with extracting features from each individual input digit and comparing them with features of images in the MNIST database. Feature extraction was implemented in the field with the 2D FFT. Identification/ classification or the actual matching algorithms goes into the regime of computer science courses and is slightly out of the scope of this course.

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Elec 301 projects fall 2008. OpenStax CNX. Jan 22, 2009 Download for free at http://cnx.org/content/col10633/1.1
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Elec 301 projects fall 2008' conversation and receive update notifications?

Ask