OCR classification

In the classification step, we used an Artificial Neural Network machine learning algorithm, more specifically, a Multi-Layer Perceptron (MLP) which is the most commonly used ANN algorithm.

MLP consists of a network of neurons with an input layer, output layer, and one or more hidden layers. Each layer has one or more neurons connected with the previous and next layers.

The following example represents a three-layer perceptron (is a binary classifier that maps a real-valued vector input to a single binary value output) with three inputs, two outputs, and the hidden layer including five neurons:

All neurons in an MLP are ...

Get Mastering OpenCV 3 - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.