Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
OpenCV with Python By Example

You're reading from  OpenCV with Python By Example

Product type Book
Published in Sep 2015
Publisher Packt
ISBN-13 9781785283932
Pages 296 pages
Edition 1st Edition
Languages
Author (1):
Prateek Joshi Prateek Joshi
Profile icon Prateek Joshi

Table of Contents (19) Chapters

OpenCV with Python By Example
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Applying Geometric Transformations to Images Detecting Edges and Applying Image Filters Cartoonizing an Image Detecting and Tracking Different Body Parts Extracting Features from an Image Creating a Panoramic Image Seam Carving Detecting Shapes and Segmenting an Image Object Tracking Object Recognition Stereo Vision and 3D Reconstruction Augmented Reality Index

What are Support Vector Machines?


Support Vector Machines (SVM) are supervised learning models that are very popular in the realm of machine learning. SVMs are really good at analyzing labeled data and detecting patterns. Given a bunch of data points and the associated labels, SVMs will build the separating hyperplanes in the best possible way.

Wait a minute, what are "hyperplanes"? To understand that, let's consider the following figure:

As you can see, the points are being separated by line boundaries that are equidistant from the points. This is easy to visualize in 2 dimensions. If it were in 3 dimensions, the separators would be planes. When we build features for images, the length of the feature vectors is usually in the six-digit range. So, when we go to such a high dimensional space, the equivalent of "lines" would be hyperplanes. Once the hyperplanes are formulated, we use this mathematical model to classify unknown data, based on where it falls on this map.

What if we cannot separate...

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}