November 2016
Beginner to intermediate
941 pages
21h 55m
English
We will now look at how to use neural networks to perform optical character recognition. This refers to the process of identifying handwritten characters in images. We will use the dataset available at http://ai.stanford.edu/~btaskar/ocr. The default file name after downloading is letter.data. To start with, let's see how to interact with the data and visualize it.
import os import sys import cv2 import numpy as np
# Load input data input_file = 'letter.data'
# Define visualization parameters scaling_factor = 10 start_index = 6 end_index = -1 h, ...