Digit Recognition

Siddharth Kushwaha

Siddharth Kushwaha

Ghaziabad, Uttar Pradesh

0 0
  • 0 Collaborators

This project is used to recognize handwritten digits with the help of machine learn concepts ...learn more

Project status: Concept

Artificial Intelligence

Intel Technologies
Other

Overview / Usage

The source file Recognition.py can be executed to recognize handwritten digits on any test image provided as input, using different classifiers.

Packages required for running the program are:
    1.  opencv2
    2.  numpy
    3.  Scikit-Image
    4.  Scikit-Learn

When executing for the very first time using a classifier, training with the MNIST database is performed and the trained data is dumped in to a file in the current directory. This is done so that, subsequent tests with the same classifier do not have to undergo the same process of learning again, which might be time consuming.

Sample handwritten digit input images are provided in the 'Master Branch'.

Methodology / Approach

Steps to run the Recognition system

usage: **python recognition.py <Classifier Index> <Test Image>**
Use the classifier index, as given below:
    1 - Decision Tree Learning
    2 - K Nearest Neighbors (k-NN)
    3 - Linear Discriminant Analysis (LDA)
    4 - Naïve Bayes Classifier
    5 - Random Forests Classifier
    6 - Support Vector Machine (SVM)
Example: python recognition.py 5 test.jpg

Comments (0)