Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
OpenCV with Python Blueprints

You're reading from  OpenCV with Python Blueprints

Product type Book
Published in Oct 2015
Publisher Packt
ISBN-13 9781785282690
Pages 230 pages
Edition 1st Edition
Languages
Authors (2):
Michael Beyeler Michael Beyeler
Profile icon Michael Beyeler
Michael Beyeler (USD) Michael Beyeler (USD)
Profile icon Michael Beyeler (USD)
View More author details

Planning the app


The final app will parse a dataset, train the ensemble classifier, assess its classification performance, and visualize the result. This will require the following components:

  • main: The main function routine (in chapter6.py) for starting the application.

  • datasets.gtsrb: A script for parsing the German Traffic Sign Recognition Benchmark (GTSRB) dataset. This script contains the following functions:

    • load_data: A function used to load the GTSRB dataset, extract a feature of choice, and split the data into training and test sets.

    • _extract_features: A function that is called by load_data to extract a feature of choice from the dataset.

  • classifiers.Classifier: An abstract base class that defines the common interface for all classifiers.

  • classifiers.MultiClassSVM: A class that implements an ensemble of SVMs for multiclass classification using the following public methods:

    • MultiClassSVM.fit: A method used to fit the ensemble of SVMs to training data. It takes a matrix of training...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}