Skip to main content

Converting handwritten (digits) information to digital format

Project description

Real-time-handwritten-digits-recognition-using-Convolutional-Neural-Network

Description

Reading handwritten information like examination answer sheets is still a difficult task for many of us, because each one of us is having a different interpretation style. As the world is moving towards digitization, converting the hand written information to a readable digital format reduces the difficulty. This approach will be beneficial for the readers as it gives a better understanding of the information. With the help of machine learning and deep learning algorithms, the hand written patterns can be recognized and classify them accordingly to a digital format with human level accuracy.

This repository deals with predicting the real time handwritten digits only. To classify the handwritten digits MNIST data set is used for training the model. OpenCV python library is used for detecting the patterns in the real time handwritten digits. These detected patterns are predicted to human level accuracy with the help of a Convolutional Neural Network model.

Environment

  • Colab
  • Tensorflow
  • Keras
  • Numpy
  • Pandas
  • Matplotlib
  • Sklearn
  • Seaborn
  • OpenCV

Data set

The MNIST data set (Modified National Institute of Standards and Technology database) has 70,000 handwritten images, which is divided into training data set of 60,000 images, and a testing data set of 10,000 images. Each digit in the data set is normalized and centered in a gray-level image with size 28 * 28, or with 784 pixels. All the pixels are stored in csv files, training files has 60,000 rows * 785 columns and testing files has 10,000 rows * 785 columns. Few sample images from MNIST data set are shown in the below figure.

Dataset_2

Convolutional Neural Network Model

Layers
CL1 Convolutional Layer 1
ML1 Max Pooling Layer 1
CL2 Convolutional Layer 2
ML2 Max Pooling Layer 2
CL3 Convolutional Layer 3
FL1 Dropout & Flatten Layer 1
DL2 Dense Layer 1
DL2 Dense Layer 2

Diagram

Output

A real time handwritten scanned image was taken and uploaded in the Google Colab. The trained model recognized the digits from the image and displayed another image with digital numbers.

Capture

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Upender_recognizer-0.0.5.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

Upender_recognizer-0.0.5-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file Upender_recognizer-0.0.5.tar.gz.

File metadata

  • Download URL: Upender_recognizer-0.0.5.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

File hashes

Hashes for Upender_recognizer-0.0.5.tar.gz
Algorithm Hash digest
SHA256 7dd5553740fe832a2b5aa741d8659124baeb3e6876fea34e4360e0f07d785282
MD5 b005b5a9fdf82511dc6cbdf24dfb0f2f
BLAKE2b-256 4edb29b3ca92f3c1ca3778d87da30c7ebc4d4f687e8d0d4455d4123f0bd4eae8

See more details on using hashes here.

File details

Details for the file Upender_recognizer-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: Upender_recognizer-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.2

File hashes

Hashes for Upender_recognizer-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 94ff5e28f31e91b0429b49bdb51b7a7f3f96f321f0352343729f56cef6f2a94f
MD5 0a6b6a9fe3122fe670d34da0a30d8674
BLAKE2b-256 5c0387c2813d03336449cd7963264f3eb371af0ff37e5beaeaceacb0ef769206

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page