Basic Character Recognition Tutorial
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
image
test-image
001-crop-digit.ipynb
002-feature-vector-and-simple-classification.ipynb
003-classification-nearest-centroid.ipynb
004-Decision-tree-and-ensemble-method.ipynb
005-Neural-Network-Multi-layer-perceptron.ipynb
006-support-vector-machine.ipynb
007-Sample-MNIST-dataset.ipynb
README.md

README.md

Basic Character Recognition Tutorial

The basic character recognition tutorial demonstrates how to extract isolated characters/digits from the images using the scikit-image library which is an image processing in Python and predict the image using the scikit-learn, machine learning in Python, to classify and predict the isolated character/digit images.

Objectives

  • Coding a basic character recognition program using Python programming language.
  • Extract isolated characters/digits from the images.
  • Create pixel-based method as a feature vector and save into text file.
  • Create first model and prediction using Nearest centroid classifier.
  • Using another machine learning techniques such as k-nearest neighbor (kNN), decision tree, ensemble method, multi-layer perceptron (MLP), and support vector machine (SVM) to create the model and prediction the isolated character/digit images.
  • Tuning parameters using grid search techniques.

Step-by-step

The Necessary Python Libraries

  • scikit-image
  • scikit-learn
  • sciPy
  • numPy
  • matplotlib

install the library through pip

pip is a package management system used to install and manage software packages written in Python.

$ sudo pip install scikit-image
$ sudo pip install -U scikit-learn
$ sudo pip install matplotlib
$ sudo pip install numpy
$ sudo pip install scipy
$ sudo pip install matplotlib