ebook img

Android application programming with OpenCV : build Android apps to capture, manipulate, and track objects in 2D and 3D PDF

173 Pages·2013·3.35 MB·English
by  Howse
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview Android application programming with OpenCV : build Android apps to capture, manipulate, and track objects in 2D and 3D

Table of Contents Android Application Programming with OpenCV Credits About the Author About the Reviewers www.PacktPub.com Support files, eBooks, discount offers and more Why Subscribe? Free Access for Packt account holders Preface What this book covers What you need for this book Who this book is for Conventions Reader feedback Customer support Downloading the example code Errata Piracy Questions 1. Setting Up OpenCV System requirements Setting up a development environment Getting a ready-made development environment – Tegra Android Development Pack (TAPD) Assembling a development environment piece-by-piece Getting the prebuilt OpenCV4Android Building OpenCV4Android from source Building the OpenCV samples with Eclipse Finding documentation and help Summary 2. Working with Camera Frames Designing our app – Second Sight Creating the Eclipse project Enabling camera and disk access in the manifest Creating menu and string resources Previewing and saving photos in CameraActivity Deleting, editing, and sharing photos in LabActivity Summary 3. Applying Image Effects Adding files to the project Defining the Filter interface Mixing color channels Making subtle color shifts with curves Processing a neighborhood of pixels with convolution filters Adding the filters to CameraActivity Summary 4. Recognizing and Tracking Images Adding files to the project Understanding image tracking Writing an image tracking filter Adding the tracker filters to CameraActivity Summary 5. Combining Image Tracking with 3D Rendering Adding files to the project Defining the ARFilter interface Building projection matrices in CameraProjectionAdapter Modifying ImageDetectionFilter for 3D tracking Rendering the cube in ARCubeRenderer Adding 3D tracking and rendering to CameraActivity Learning more about 3D graphics on Android Summary Index Android Application Programming with OpenCV Android Application Programming with OpenCV Copyright © 2013 Packt Publishing All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews. Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book. Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information. First published: September 2013 Production Reference: 1180913 Published by Packt Publishing Ltd. Livery Place 35 Livery Street Birmingham B3 2PB, UK. ISBN 978-1-84969-520-6 www.packtpub.com Cover Image by Ankita Jha (<[email protected]>) Credits Author Joseph Howse Reviewers Karan Kedar Balkar Rohit Bhat Viral Parekh Acquisition Editors Nikhil Karkal Kartikey Pandey Commissioning Editor Harsha Bharwani Technical Editors Jinesh Kampani Manal Pednekar Project Coordinator Amigya Khurana Proofreader Amy Guest Indexer Rekha Nair Graphics Ronak Dhruv Production Coordinator Conidon Miranda Cover Work Conidon Miranda About the Author Joseph Howse might be at home right now, sitting on a sofa and writing a book, or he might have dashed away with a suitcase full of books, cameras, and computers. He is equipped to "see the world" or at least to do his work in computer vision. He is a software developer at Ad-Dispatch (Canada), where he makes augmented reality games for iOS and Android. Thanks to computer vision, the games can make use of real-world props such as a child's drawings, toys, or blanket-forts. He also provides training and consulting services. He is currently consulting at Market Beat (El Salvador) on an embedded systems project that uses OpenCV for face recognition. He holds three masters degrees in Computer Science, International Development Studies, and Business Administration (Dalhousie University, Canada). His research has been published by ISMAR (International Symposium on Mixed and Augmented Realities), and he would love to meet you there if you go. Android Application Programming with OpenCV is Joe's second book with Packt. His first book, OpenCV Computer Vision with Python, includes an introduction to face tracking and depth cameras (for example, Kinect) on Windows, Mac, and Linux. Joe likes cats, kittens, oceans, and seas. Felines and saline water sustain him. He lives with his multi-species family in Halifax, on Canada's Atlantic coast. I am able to write—and to enjoy writing—because I am constantly encouraged by the memory of Sam and by the companionship of Mom, Dad, and the cats. They are my fundamentals. I am indebted to my editors and reviewers for guiding this book to completion. Their professionalism, courtesy, good judgment, and completion. Their professionalism, courtesy, good judgment, and passion for books are much appreciated.

Description:
Overview Set up OpenCV and an Android development environment on Windows, Mac, or Linux Capture and display real-time videos and still images Manipulate image data using OpenCV and Apache Commons Math Track objects and render 2D and 3D graphics on top of them Create a photo-capture and photo-sharing
See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.