Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Mastering OpenCV with Practical Computer Vision Projects

You're reading from  Mastering OpenCV with Practical Computer Vision Projects

Product type Book
Published in Dec 2012
Publisher Packt
ISBN-13 9781849517829
Pages 340 pages
Edition 1st Edition
Languages

Table of Contents (15) Chapters

Mastering OpenCV with Practical Computer Vision Projects
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Cartoonifier and Skin Changer for Android Marker-based Augmented Reality on iPhone or iPad Marker-less Augmented Reality Exploring Structure from Motion Using OpenCV Number Plate Recognition Using SVM and Neural Networks Non-rigid Face Tracking 3D Head Pose Estimation Using AAM and POSIT Face Recognition using Eigenfaces or Fisherfaces Index

Application infrastructure


So far, we've learned how to detect a pattern and estimate its 3D position with regards to the camera. Now it's time to show how to put these algorithms into a real application. So our goal for this section is to show how to use OpenCV to capture a video from a web camera and create the visualization context for 3D rendering.

As our goal is to show how to use key features of marker-less AR, we will create a simple command-line application that will be capable of detecting arbitrary pattern images either in a video sequence or in still images.

To hold all image-processing logic and intermediate data, we introduce the ARPipeline class. It's a root object that holds all subcomponents necessary for augmented reality and performs all processing routines on the input frames. The following is a UML diagram of ARPipeline and its subcomponents:

It consists of:

  • The camera-calibration object

  • An Instance of the pattern-detector object

  • A trained pattern object

  • Intermediate data of...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}