OpenCV Computer Vision with Python Front Cover

OpenCV Computer Vision with Python

  • Length: 122 pages
  • Edition: 1
  • Publisher:
  • Publication Date: 2013-04-23
  • ISBN-10: 1782163921
  • ISBN-13: 9781782163923
  • Sales Rank: #2800916 (See Top 100 Books)
Description

Learn to capture videos, manipulate images, and track objects with Python using the OpenCV Library

Overview

  • Set up OpenCV, its Python bindings, and optional Kinect drivers on Windows, Mac or Ubuntu
  • Create an application that tracks and manipulates faces
  • Identify face regions using normal color images and depth images

In Detail

Computer Vision can reach consumers in various contexts via webcams, camera phones and gaming sensors like Kinect. OpenCV’s Python bindings can help developers meet these consumer demands for applications that capture images, change their appearance and extract information from them, in a high-level language and in a standardized data format that is interoperable with scientific libraries such as NumPy and SciPy.

“OpenCV Computer Vision with Python” is a practical, hands-on guide that covers the fundamental tasks of computer vision—capturing, filtering and analyzing images—with step-by-step instructions for writing both an application and reusable library classes.

“OpenCV Computer Vision with Python” shows you how to use the Python bindings for OpenCV. By following clear and concise examples you will develop a computer vision application that tracks faces in live video and applies special effects to them. If you have always wanted to learn which version of these bindings to use, how to integrate with cross-platform Kinect drivers and and how to efficiently process image data with NumPy and SciPy then this book is for you.

What you will learn from this book

  • Install OpenCV and related software such as Python, NumPy, SciPy, OpenNI, and SensorKinect—all on Windows, Mac or Ubuntu
  • Capture, display, and save photos and real-time videos
  • Handle window events and input events using OpenCV’s HighGui module or Pygame
  • Understand OpenCV’s image format and how to perform efficient operations on OpenCV images with NumPy and SciPy
  • Apply “curves” and other color transformations to simulate the look of old photos, movies or video games
  • Apply an effect only to edges in an image
  • Copy and resize segments of an image
  • Apply an effect only to certain depths in an image by using data from a depth sensor such as Kinect
  • Track faces, eyes, noses and mouths by using prebuilt datasets
  • Track arbitrary objects by creating original datasets

Approach

A practical, project-based tutorial for Python developers and hobbyists who want to get started with computer vision with OpenCV and Python.

Who this book is written for

OpenCV Computer Vision with Python is written for Python developers who are new to computer vision and want a practical guide to teach them the essentials. Some understanding of image data (for example, pixels and color channels) would be beneficial. At a minimum you will need access to at least one webcam. Certain exercises require additional hardware like a second webcam, a Microsoft Kinect or an OpenNI-compliant depth sensor such as the Asus Xtion PRO.

Table of Contents

Preface
Chapter 1: Setting up OpenCV
Chapter 2: Handling Files, Cameras, and GUIs
Chapter 3: Filtering Images
Chapter 4: Tracking Faces with Haar Cascades
Chapter 5: Detecting Foreground/Background Regions and Depth
Appendix A: Integrating with Pygame
Appendix B: Generating Haar Cascades for Custom Targets

To access the link, solve the captcha.