Have a personal or library account? Click to login
OpenCV with Python By Example Cover

OpenCV with Python By Example

Build real-world computer vision applications and develop cool demos using OpenCV for Python

Paid access
|Sep 2025
Product purchase options

Key Features

  • Learn how to apply complex visual effects to images using geometric transformations and image filters
  • Extract features from an image and use them to develop advanced applications
  • Build algorithms to understand the image content and recognize objects in an image

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 are getting more processing power to work with. Using this technology, we can seamlessly integrate our computer vision applications into the cloud. Web developers can develop complex applications without having to reinvent the wheel.
This book will walk you through all the building blocks needed to build amazing computer vision applications with ease. We start off with applying geometric transformations to images. We then discuss affine and projective transformations and see how we can use them to apply cool geometric effects to photos. We will then cover techniques used for object recognition, 3D reconstruction, stereo imaging, and other computer vision applications.
This book will also provide clear examples written in Python to build OpenCV applications. The book starts off with simple beginner’s level tasks such as basic processing and handling images, image mapping, and detecting images. It also covers popular OpenCV libraries with the help of examples.
The book is a practical tutorial that covers various examples at different levels, teaching you about the different functions of OpenCV and their actual implementation.

What you will learn

  • Apply geometric transformations to images, perform image filtering, and convert an image into a cartoon-like image
  • Detect and track various body parts such as the face, nose, eyes, ears, and mouth
  • Stitch multiple images of a scene together to create a panoramic image
  • Make an object disappear from an image
  • Identify different shapes, segment an image, and track an object in a live video
  • Recognize objects in an image and understand the content
  • Reconstruct a 3D map from images
  • Build an augmented reality application

Who this book is for

This book is intended for Python developers who are new to OpenCV and want to develop computer vision applications with OpenCV-Python. This book is also useful for generic software developers who want to deploy computer vision applications on the cloud. It would be helpful to have some familiarity with basic mathematical concepts such as vectors, matrices, and so on.

Table of Contents

  1. Applying geometric transformations to images
  2. Detecting edges and applying image filters
  3. Cartoonizing an image
  4. Detecting and tracking different body parts
  5. Extracting features from an image
  6. Creating a panoramic image
  7. Seam carving
  8. Detecting Shapes And Segmenting An Image
  9. Tracking an object in a live video
  10. Object recognition
  11. Stereo imaging and 3D reconstruction
  12. Augmented Reality
https://github.com/packtpublishing/opencv-with-python-by-example
PDF ISBN: 978-1-78528-987-3
Publisher: Packt Publishing Limited
Copyright owner: © 2015 Packt Publishing Limited
Publication date: 2025
Language: English
Pages: 296