OpenCV 3.x with Python By Example - Second Edition

Learn the techniques for object recognition, 3D reconstruction, stereo imaging, and other computer vision applications using examples on different functions of OpenCV.
Preview in Mapt

OpenCV 3.x with Python By Example - Second Edition

Gabriel Garrido, Prateek Joshi

4 customer reviews
Learn the techniques for object recognition, 3D reconstruction, stereo imaging, and other computer vision applications using examples on different functions of OpenCV.
Mapt Subscription
FREE
โ‚ฌ29.98/m after trial
eBook
โ‚ฌ25.20
RRP โ‚ฌ35.98
Save 29%
Print + eBook
โ‚ฌ37.99
RRP โ‚ฌ37.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packtโ€™s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
โ‚ฌ0.00
โ‚ฌ25.20
โ‚ฌ37.99
โ‚ฌ29.99 p/m after trial
RRP โ‚ฌ35.98
RRP โ‚ฌ37.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


OpenCV 3.x with Python By Example - Second Edition Book Cover
OpenCV 3.x with Python By Example - Second Edition
โ‚ฌ 35.98
โ‚ฌ 25.20
Computer Vision with OpenCV 3 and Qt5 Book Cover
Computer Vision with OpenCV 3 and Qt5
โ‚ฌ 45.58
โ‚ฌ 31.92
Buy 2 for โ‚ฌ35.72
Save โ‚ฌ38.20
Add to Cart

Book Details

ISBN 139781788396905
Paperback268 pages

Book Description

Computer vision is found everywhere in modern technology. OpenCV for Python enables us to run computer vision algorithms in real time. With the advent of powerful machines, we have more processing power to work with. Using this technology, we can seamlessly integrate our computer vision applications into the cloud. Focusing on OpenCV 3.x and Python 3.6, this book will walk you through all the building blocks needed to build amazing computer vision applications with ease.

We start off by manipulating images using simple filtering and geometric transformations. We then discuss affine and projective transformations and see how we can use them to apply cool advanced manipulations to your photos like resizing them while keeping the content intact or smoothly removing undesired elements. We will then cover techniques of object tracking, body part recognition, and object recognition using advanced techniques of machine learning such as artificial neural network. 3D reconstruction and augmented reality techniques are also included. The book covers popular OpenCV libraries with the help of examples.

This book is a practical tutorial that covers various examples at different levels, teaching you about the different functions of OpenCV and their actual implementation. By the end of this book, you will have acquired the skills to use OpenCV and Python to develop real-world computer vision applications.

Table of Contents

Chapter 1: Applying Geometric Transformations to Images
Installing OpenCV-Python
Reading, displaying, and saving images
Loading and saving an image
Image color spaces
Image translation
Image rotation
Image scaling
Affine transformations
Projective transformations
Image warping
Summary
Chapter 2: Detecting Edges and Applying Image Filters
2D convolution
Blurring
Motion blur
Sharpening
Embossing
Edge detection
Erosion and dilation
Creating a vignette filter
Enhancing the contrast in an image
Summary
Chapter 3: Cartoonizing an Image
Accessing the webcam
Keyboard inputs
Mouse inputs
Interacting with a live video stream
Cartoonizing an image
Summary
Chapter 4: Detecting and Tracking Different Body Parts
Using Haar cascades to detect things
What are integral images?
Detecting and tracking faces
Fun with faces
Detecting eyes
Fun with eyes
Detecting ears
Detecting a mouth
It's time for a moustache
Detecting pupils
Summary
Chapter 5: Extracting Features from an Image
Why do we care about keypoints?
What are keypoints?
Detecting the corners
Good features to track
Scale-invariant feature transform (SIFT)
Speeded-up robust features (SURF)
Features from accelerated segment test (FAST)
Binary robust independent elementary features (BRIEF)
Oriented FAST and Rotated BRIEF (ORB)
Summary
Chapter 6: Seam Carving
Why do we care about seam carving?
How does it work?
How do we define interesting?
How do we compute the seams?
Can we expand an image?
Can we remove an object completely?
Summary
Chapter 7: Detecting Shapes and Segmenting an Image
Contour analysis and shape matching
Approximating a contour
Identifying a pizza with a slice taken out
How to censor a shape?
What is image segmentation?
Watershed algorithm
Summary
Chapter 8: Object Tracking
Frame differencing
Colorspace based tracking
Building an interactive object tracker
Feature-based tracking
Background subtraction
Summary
Chapter 9: Object Recognition
Object detection versus object recognition
What is a dense feature detector?
What is a visual dictionary?
What is supervised and unsupervised learning?
What are support vector machines?
How do we actually implement this?
Summary
Chapter 10: Augmented Reality
What is the premise of augmented reality?
What does an augmented reality system look like?
Geometric transformations for augmented reality
What is pose estimation?
How to track planar objects
How to augment our reality
Let's add some movements
Summary
Chapter 11: Machine Learning by an Artificial Neural Network
Machine learning (ML) versus artificial neural network (ANN)
How does ANN work?
How to define multi-layer perceptrons (MLP)
How to implement an ANN-MLP classifier? 
Summary

What You Will Learn

  • Detect shapes and edges from images and videos
  • How to apply filters on images and videos
  • Use different techniques to manipulate and improve images
  • Extract and manipulate particular parts of images and videos
  • Track objects or colors from videos
  • Recognize specific object or faces from images and videos
  • How to create Augmented Reality applications
  • Apply artificial neural networks and machine learning to improve object recognition

Authors

Table of Contents

Chapter 1: Applying Geometric Transformations to Images
Installing OpenCV-Python
Reading, displaying, and saving images
Loading and saving an image
Image color spaces
Image translation
Image rotation
Image scaling
Affine transformations
Projective transformations
Image warping
Summary
Chapter 2: Detecting Edges and Applying Image Filters
2D convolution
Blurring
Motion blur
Sharpening
Embossing
Edge detection
Erosion and dilation
Creating a vignette filter
Enhancing the contrast in an image
Summary
Chapter 3: Cartoonizing an Image
Accessing the webcam
Keyboard inputs
Mouse inputs
Interacting with a live video stream
Cartoonizing an image
Summary
Chapter 4: Detecting and Tracking Different Body Parts
Using Haar cascades to detect things
What are integral images?
Detecting and tracking faces
Fun with faces
Detecting eyes
Fun with eyes
Detecting ears
Detecting a mouth
It's time for a moustache
Detecting pupils
Summary
Chapter 5: Extracting Features from an Image
Why do we care about keypoints?
What are keypoints?
Detecting the corners
Good features to track
Scale-invariant feature transform (SIFT)
Speeded-up robust features (SURF)
Features from accelerated segment test (FAST)
Binary robust independent elementary features (BRIEF)
Oriented FAST and Rotated BRIEF (ORB)
Summary
Chapter 6: Seam Carving
Why do we care about seam carving?
How does it work?
How do we define interesting?
How do we compute the seams?
Can we expand an image?
Can we remove an object completely?
Summary
Chapter 7: Detecting Shapes and Segmenting an Image
Contour analysis and shape matching
Approximating a contour
Identifying a pizza with a slice taken out
How to censor a shape?
What is image segmentation?
Watershed algorithm
Summary
Chapter 8: Object Tracking
Frame differencing
Colorspace based tracking
Building an interactive object tracker
Feature-based tracking
Background subtraction
Summary
Chapter 9: Object Recognition
Object detection versus object recognition
What is a dense feature detector?
What is a visual dictionary?
What is supervised and unsupervised learning?
What are support vector machines?
How do we actually implement this?
Summary
Chapter 10: Augmented Reality
What is the premise of augmented reality?
What does an augmented reality system look like?
Geometric transformations for augmented reality
What is pose estimation?
How to track planar objects
How to augment our reality
Let's add some movements
Summary
Chapter 11: Machine Learning by an Artificial Neural Network
Machine learning (ML) versus artificial neural network (ANN)
How does ANN work?
How to define multi-layer perceptrons (MLP)
How to implement an ANN-MLP classifier? 
Summary

Book Details

ISBN 139781788396905
Paperback268 pages
Read More
From 4 reviews

Read More Reviews

Recommended for You

Computer Vision with OpenCV 3 and Qt5 Book Cover
Computer Vision with OpenCV 3 and Qt5
โ‚ฌ 45.58
โ‚ฌ 31.92
OpenCV 3 Computer Vision with Python Cookbook Book Cover
OpenCV 3 Computer Vision with Python Cookbook
โ‚ฌ 35.98
โ‚ฌ 25.20
Predictive Analytics with TensorFlow Book Cover
Predictive Analytics with TensorFlow
โ‚ฌ 45.58
โ‚ฌ 31.92
IoT Projects with Bluetooth Low Energy Book Cover
IoT Projects with Bluetooth Low Energy
โ‚ฌ 32.38
โ‚ฌ 22.68
Machine Learning for OpenCV - Supervised Learning [Video] Book Cover
Machine Learning for OpenCV - Supervised Learning [Video]
โ‚ฌ 122.38
โ‚ฌ 104.04
Learning OpenCV 3 Computer Vision with Python - Second Edition Book Cover
Learning OpenCV 3 Computer Vision with Python - Second Edition
โ‚ฌ 39.58
โ‚ฌ 27.72