OpenCV with Python By Example

 
 
Packt Publishing Limited
  • 1. Auflage
  • |
  • erschienen am 22. September 2015
  • |
  • 296 Seiten
 
E-Book | ePUB mit Adobe DRM | Systemvoraussetzungen
978-1-78528-987-3 (ISBN)
 
Build real-world computer vision applications and develop cool demos using OpenCV for PythonAbout This BookLearn how to apply complex visual effects to images using geometric transformations and image filtersExtract features from an image and use them to develop advanced applicationsBuild algorithms to help you understand the image content and perform visual searchesWho This Book Is ForThis 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.What You Will LearnApply geometric transformations to images, perform image filtering, and convert an image into a cartoon-like imageDetect and track various body parts such as the face, nose, eyes, ears, and mouthStitch multiple images of a scene together to create a panoramic imageMake an object disappear from an imageIdentify different shapes, segment an image, and track an object in a live videoRecognize an object in an image and build a visual search engineReconstruct a 3D map from imagesBuild an augmented reality applicationIn DetailComputer 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.Style and approachThis is a conversational-style book filled with hands-on examples that are really easy to understand. Each topic is explained very clearly and is followed by a programmatic implementation so that the concept is solidified. Each topic contributes to something bigger in the following chapters, which helps you understand how to piece things together to build something big and complex.
  • Englisch
  • Birmingham
978-1-78528-987-3 (9781785289873)
178528987x (178528987x)
weitere Ausgaben werden ermittelt
  • Cover
  • Copyright
  • Credits
  • About the Author
  • About the Reviewers
  • www.PacktPub.com
  • Table of Contents
  • Preface
  • Chapter 1: Applying Geometric Transformations to Images
  • Installing OpenCV-Python
  • Windows
  • Mac OS X
  • Linux (for Ubuntu)
  • Reading, displaying, and saving images
  • What just happened?
  • Loading and saving an image
  • Image color spaces
  • Converting between color spaces
  • What just happened?
  • Image translation
  • What just happened?
  • Image rotation
  • What just happened?
  • Image scaling
  • What just happened?
  • Affine transformations
  • What just happened?
  • Projective transformations
  • What just happened?
  • Image warping
  • Summary
  • Chapter 2: Detecting Edges And Applying Image Filters
  • 2D convolution
  • Blurring
  • Size of the kernel versus blurriness
  • Edge detection
  • Motion blur
  • Under the hood
  • Sharpening
  • Understanding the pattern
  • Embossing
  • Erosion and dilation
  • Afterthought
  • Creating a vignette filter
  • What's happening underneath?
  • How do we move the focus around?
  • Enhancing the contrast in an image
  • How do we handle color images?
  • Summary
  • Chapter 3: Cartoonizing an Image
  • Accessing the webcam
  • Under the hood
  • Keyboard inputs
  • Interacting with the application
  • Mouse inputs
  • What's happening underneath?
  • Interacting with live video stream
  • How did we do it?
  • Cartoonizing an image
  • Deconstructing the code
  • Summary
  • Chapter 4: Detecting And Tracking Different Body Parts
  • Using Haar cascades to detect things
  • What are integral images?
  • Detecting and tracking faces
  • Understanding it better
  • Fun with faces
  • Under the hood
  • Detecting eyes
  • Afterthought
  • Fun with eyes
  • Positioning the sunglasses
  • Detecting ears
  • Detecting a mouth
  • It's time for a moustache
  • Detecting a nose
  • Detecting pupils
  • Deconstructing the code
  • 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: Creating a Panoramic Image
  • Matching keypoint descriptors
  • How did we match the keypoints?
  • Understanding the matcher object
  • Drawing the matching keypoints
  • Creating the panoramic image
  • Finding the overlapping regions
  • Stitching the images
  • What if the images are at an angle to each other?
  • Why does it look stretched?
  • Summary
  • Chapter 7: 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?
  • How did we do it?
  • Summary
  • Chapter 8: Detecting Shapes and Segmenting an Image
  • Contour analysis and shape matching
  • Approximating a contour
  • Identifying the pizza with the slice taken out
  • How to censor a shape?
  • What is image segmentation?
  • How does it work?
  • Watershed algorithm
  • Summary
  • Chapter 9: Object Tracking
  • Frame differencing
  • Colorspace based tracking
  • Building an interactive object tracker
  • Feature based tracking
  • Background subtraction
  • Summary
  • Chapter 10: 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?
  • What if we cannot separate the data with simple straight lines?
  • How do we actually implement this?
  • What happened inside the code?
  • How did we build the trainer?
  • Summary
  • Chapter 11: Stereo Vision and 3D Reconstruction
  • What is stereo correspondence?
  • What is epipolar geometry?
  • Why are the lines different as compared to SIFT?
  • Building the 3D map
  • Summary
  • Chapter 12: 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?
  • What happened inside the code?
  • How to augment our reality?
  • Mapping coordinates from 3D to 2D
  • How to overlay 3D objects on a video?
  • Let's look at the code
  • Let's add some movements
  • Summary
  • Index

Dateiformat: EPUB
Kopierschutz: Adobe-DRM (Digital Rights Management)

Systemvoraussetzungen:

Computer (Windows; MacOS X; Linux): Installieren Sie bereits vor dem Download die kostenlose Software Adobe Digital Editions (siehe E-Book Hilfe).

Tablet/Smartphone (Android; iOS): Installieren Sie bereits vor dem Download die kostenlose App Adobe Digital Editions (siehe E-Book Hilfe).

E-Book-Reader: Bookeen, Kobo, Pocketbook, Sony, Tolino u.v.a.m. (nicht Kindle)

Das Dateiformat EPUB ist sehr gut für Romane und Sachbücher geeignet - also für "fließenden" Text ohne komplexes Layout. Bei E-Readern oder Smartphones passt sich der Zeilen- und Seitenumbruch automatisch den kleinen Displays an. Mit Adobe-DRM wird hier ein "harter" Kopierschutz verwendet. Wenn die notwendigen Voraussetzungen nicht vorliegen, können Sie das E-Book leider nicht öffnen. Daher müssen Sie bereits vor dem Download Ihre Lese-Hardware vorbereiten.

Weitere Informationen finden Sie in unserer E-Book Hilfe.


Download (sofort verfügbar)

40,53 €
inkl. 19% MwSt.
Download / Einzel-Lizenz
ePUB mit Adobe DRM
siehe Systemvoraussetzungen
E-Book bestellen

Unsere Web-Seiten verwenden Cookies. Mit der Nutzung des WebShops erklären Sie sich damit einverstanden. Mehr Informationen finden Sie in unserem Datenschutzhinweis. Ok