Apress Cyber Monday SALE

Practical OpenCV

By Samarth Brahmbhatt

  • eBook Price: $41.99 $10.00
  • Print Book Price: $59.99
Buy eBook Buy Print Book
Practical OpenCV is a hands-on project book that shows you how to get the best results from OpenCV, the open-source computer vision library.

Full Description

  • Add to Wishlist
  • ISBN13: 978-1-4302-6079-0
  • 244 Pages
  • User Level: Beginner to Advanced
  • Publication Date: December 8, 2013
  • Available eBook Formats: EPUB, MOBI, PDF

Related Titles

  • Beginning Sensor Networks with Arduino and Raspberry Pi
  • Sensor Technologies
  • Rethinking the Internet of Things
  • TouchDevelop
  • 3D Printing with Delta Printers
  • Beginning C for Arduino, Second Edition
  • Beginning Scribus
  • Exploring the Raspberry Pi 2 with C++
  • Learn Raspberry Pi 2 with Linux and Windows 10
  • 3D Printing with MatterControl
Full Description

Practical OpenCV is a hands-on project book that shows you how to get the best results from OpenCV, the open-source computer vision library.

Computer vision is key to technologies like object recognition, shape detection, and depth estimation. OpenCV is an open-source library with over 2500 algorithms that you can use to do all of these, as well as track moving objects, extract 3D models, and overlay augmented reality. It's used by major companies like Google (in its autonomous car), Intel, and Sony; and it is the backbone of the Robot Operating System’s computer vision capability. In short, if you're working with computer vision at all, you need to know OpenCV.

With Practical OpenCV, you'll be able to:

  • Get OpenCV up and running on Windows or Linux.
  • Use OpenCV to control the camera board and run vision algorithms on Raspberry Pi.
  • Understand what goes on behind the scenes in computer vision applications like object detection, image stitching, filtering, stereo vision, and more.
  • Code complex computer vision projects for your class/hobby/robot/job, many of which can execute in real time on off-the-shelf processors.
  • Combine different modules that you develop to create your own interactive computer vision app.

What you’ll learn

  • The ins and outs of OpenCV programming on Windows and Linux
  • Transforming and filtering images
  • Detecting corners, edges, lines, and circles in images and video
  • Detecting pre-trained objects in images and video
  • Making panoramas by stitching images together
  • Getting depth information by using stereo cameras
  • Basic machine learning techniques
  • BONUS: Learn how to run OpenCV on Raspberry Pi

Who this book is for

This book is for programmers and makers with little or no previous exposure to computer vision. Some proficiency with C++ is required.

Table of Contents

Table of Contents

Part 1: Getting comfortable

Chapter 1: Introduction to Computer Vision and OpenCV

Chapter 2: Setting up OpenCV on your computer

Chapter 3: CV Bling – OpenCV inbuilt demos

Chapter 4: Basic operations on images and GUI windows

Part 2: Advanced computer vision problems and coding them in OpenCV

Chapter 5: Image filtering

Chapter 6: Shapes in images

Chapter 7: Image segmentation and histograms

Chapter 8: Basic machine learning and keypoint-based object detection

Chapter 9: Affine and Perspective transformations and their applications to image panoramas

Chapter 10: 3D geometry and stereo vision

Chapter 11: Embedded computer vision: Running OpenCV programs on the Raspberry Pi

Source Code/Downloads

Downloads are available to accompany this book.

Your operating system can likely extract zipped downloads automatically, but you may require software such as WinZip for PC, or StuffIt on a Mac.


If you think that you've found an error in this book, please let us know by emailing to editorial@apress.com . You will find any confirmed erratum below, so you can check if your concern has already been addressed.
No errata are currently published


    1. Pro Arduino

      $27.99 $10.00

      View Book

    2. Practical OpenCV

      $41.99 $10.00

      View Book

    3. Beginning C for Arduino, Second Edition

      $31.99 $10.00

      View Book

    4. Beginning Sensor Networks with Arduino and Raspberry Pi

      $27.99 $10.00

      View Book