Mastering OpenCV Android Application Programming
eBook - ePub

Mastering OpenCV Android Application Programming

Salil Kapur, Nisarg Thakkar

Condividi libro
  1. 216 pagine
  2. English
  3. ePUB (disponibile sull'app)
  4. Disponibile su iOS e Android
eBook - ePub

Mastering OpenCV Android Application Programming

Salil Kapur, Nisarg Thakkar

Dettagli del libro
Anteprima del libro
Indice dei contenuti
Citazioni

Informazioni sul libro

If you are a Java and Android developer looking to enhance your skills by learning the latest features of OpenCV Android application programming, then this book is for you.

Domande frequenti

Come faccio ad annullare l'abbonamento?
È semplicissimo: basta accedere alla sezione Account nelle Impostazioni e cliccare su "Annulla abbonamento". Dopo la cancellazione, l'abbonamento rimarrà attivo per il periodo rimanente già pagato. Per maggiori informazioni, clicca qui
È possibile scaricare libri? Se sì, come?
Al momento è possibile scaricare tramite l'app tutti i nostri libri ePub mobile-friendly. Anche la maggior parte dei nostri PDF è scaricabile e stiamo lavorando per rendere disponibile quanto prima il download di tutti gli altri file. Per maggiori informazioni, clicca qui
Che differenza c'è tra i piani?
Entrambi i piani ti danno accesso illimitato alla libreria e a tutte le funzionalità di Perlego. Le uniche differenze sono il prezzo e il periodo di abbonamento: con il piano annuale risparmierai circa il 30% rispetto a 12 rate con quello mensile.
Cos'è Perlego?
Perlego è un servizio di abbonamento a testi accademici, che ti permette di accedere a un'intera libreria online a un prezzo inferiore rispetto a quello che pagheresti per acquistare un singolo libro al mese. Con oltre 1 milione di testi suddivisi in più di 1.000 categorie, troverai sicuramente ciò che fa per te! Per maggiori informazioni, clicca qui.
Perlego supporta la sintesi vocale?
Cerca l'icona Sintesi vocale nel prossimo libro che leggerai per verificare se è possibile riprodurre l'audio. Questo strumento permette di leggere il testo a voce alta, evidenziandolo man mano che la lettura procede. Puoi aumentare o diminuire la velocità della sintesi vocale, oppure sospendere la riproduzione. Per maggiori informazioni, clicca qui.
Mastering OpenCV Android Application Programming è disponibile online in formato PDF/ePub?
Sì, puoi accedere a Mastering OpenCV Android Application Programming di Salil Kapur, Nisarg Thakkar in formato PDF e/o ePub, così come ad altri libri molto apprezzati nelle sezioni relative a Informatica e Informatica generale. Scopri oltre 1 milione di libri disponibili nel nostro catalogo.

Informazioni

Anno
2015
ISBN
9781783988204
Edizione
1
Argomento
Informatica

Mastering OpenCV Android Application Programming


Table of Contents

Mastering OpenCV Android Application Programming
Credits
About the Authors
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
Downloading the color images of this book
Errata
Piracy
Questions
1. Applying Effects to Images
Getting started
Setting up OpenCV
Storing images in OpenCV
Linear filters in OpenCV
The mean blur method
The Gaussian blur method
The median blur method
Creating custom kernels
Morphological operations
Dilation
Erosion
Thresholding
Adaptive thresholding
Summary
2. Detecting Basic Features in Images
Creating our application
Edge and Corner detection
The Difference of Gaussian technique
The Canny Edge detector
The Sobel operator
Harris Corner detection
Hough transformations
Hough lines
Hough circles
Contours
Project – detecting a Sudoku puzzle in an image
Summary
3. Detecting Objects
What are features?
Scale Invariant Feature Transform
Understanding how SIFT works
Scale-space extrema detection
Keypoint localization
Orientation assignment
Keypoint descriptor
SIFT in OpenCV
Matching features and detecting objects
Brute-force matcher
FLANN based matcher
Matching the points
Detecting objects
Speeded Up Robust Features
SURF detector
SURF descriptor
Orientation assignment
Descriptor based on Haar wavelet responses
SURF in OpenCV
Oriented FAST and Rotated BRIEF
oFAST – FAST keypoint orientation
FAST detector
Orientation by intensity centroid
rBRIEF – Rotation-aware BRIEF
Steered BRIEF
Variance and correlation
ORB in OpenCV
Binary Robust Invariant Scalable Keypoints
Scale-space keypoint detection
Keypoint description
Sampling pattern and rotation estimation
Building the descriptor
BRISK In OpenCV
Fast Retina Keypoint
A retinal sampling pattern
A coarse-to-fine descriptor
Saccadic search
Orientation
FREAK in OpenCV
Summary
4. Drilling Deeper into Object Detection – Using Cascade Classifiers
An introduction to cascade classifiers
Haar cascades
LBP cascades
Face detection using the cascade classifier
HOG descriptors
Project – Happy Camera
Summary
5. Tracking Objects in Videos
Optical flow
The Horn and Schunck method
The Lucas and Kanade method
Checking out the optical flow on Android
Image pyramids
Gaussian pyramids
Laplacian pyramids
Gaussian and Laplacian pyramids in OpenCV
Basic 2D transformations
Global motion estimation
The Kanade-Lucas-Tomasi tracker
Checking out the KLT tracker on OpenCV
Summary
6. Working with Image Alignment and Stitching
Image stitching
Feature detection and matching
Image matching
Homography estimation using RANSAC
Verification of image matches using a probabilistic model
Bundle adjustment
Automatic panoramic straightening
Gain compensation
Multi-band blending
Image stitching using OpenCV
Setting up Android NDK
The layout and Java code
The C++ code
Summary
7. Bringing Your Apps to Life with OpenCV Machine Learning
Optical Character Recognition
OCR using k-nearest neighbors
Making a camera application
Handling the training data
Recognizing digits
OCR using Support Vector Machines
Solving a Sudoku puzzle
Recognizing digits in the puzzle
Summary
8. Troubleshooting and Best Practices
Troubleshooting errors
Permission errors
Some common permissions
Debugging code using Logcat
Best practices
Handling images in Android
Loading images
Processing images
Handling data between multiple activities
Transferring data via Intent
Using static fields
Using a database or a file
Summary
9. Developing a Document Scanning App
Let's begin
The algorithm
Implementing on Android
Summary
Index

Mastering OpenCV Android Application Programming

Copyright © 2015 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 authors, 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: July 2015
Production reference: 1230715
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78398-820-4
www.packtpub.com

Credits

Authors
Salil Kapur
Nisarg Thakkar
Reviewers
Radhakrishna Dasari
Noritsuna Imamura
Ashwin Kachhara
André Moreira de Souza
Commissioning Editor
Kartikey Pandey
Acquisition Editors
Harsha Bharwani
Aditya Nair
Content Development Editors
Ruchita Bhansali
Kirti Patil
Technical Editor
Ankur Ghiye
Copy Editor
Rashmi Sawant
Project Coordinator
Nidhi Joshi
Proofreader
Safis Editing
Indexer
Hemangini Bari
Graphics
Sheetal Aute
Production Coordinator
Nitesh Thakur
Cover Work
Nitesh Thakur

About the Authors

Salil Kapur is a software engineer at Microsoft. He earned his bachelor's degree in computer science from Birla Institute of Technology and Science, Pilani.
He has a passion for programming and is always excited to try out new technologies. His interests lie in computer vision, networks, and developing scalable systems. He is an open source enthusiast and...

Indice dei contenuti