March 2020
Intermediate to advanced
366 pages
9h 8m
English
To run our app, we will need to execute the main function routine (in chapter6.py). This loads the data, trains the classifier, evaluates its performance, and visualizes the result:
import cv2import numpy as npimport matplotlib.pyplot as pltfrom data.gtsrb import load_training_datafrom data.gtsrb import load_test_datafrom data.process import grayscale_featurize, hog_featurize