Handwritten Digit Recognition Using Convolutional Neural Networks
Handwritten Digit Recognition Using Convolutional Neural Networks
In this article, we are going to implement a handwritten digit recognition app using
the MNIST dataset. We will be using a special type of deep neural network that is
Convolutional Neural Networks. In the end, we are going to build a GUI in which
you can draw the digit and recognize it straight away.
Prerequisites:
The interesting Python project requires you to have basic knowledge of Python
programming, deep learning with Keras library and the Tkinter library for building
GUI.
Install the necessary libraries for this project using this command:
The MNIST dataset :
This is probably one of the most popular datasets among machine learning and deep
learning enthusiasts. The MNIST dataset contains 60,000 training images of
handwritten digits from zero to nine and 10,000 images for testing. So, the MNIST
dataset has 10 different classes. The handwritten digits images are represented as a
28×28 matrix where each cell contains grayscale pixel value.
Description of the MNIST Handwritten Digit Recognition Problem
Excellent results achieve a prediction error of less than 1%. State-of-the-art prediction
error of approximately 0.2% can be achieved with large Convolutional Neural
Networks. There is a listing of the state-of-the-art results and links to the relevant
papers on the MNIST and other datasets on Rodrigo Benenson’s webpage.