Mastering OpenCV Android Application Programming

Mastering OpenCV Android Application Programming

Read it now on the O’Reilly learning platform with a 10-day free trial.

O’Reilly members get unlimited access to books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.

Book description

Master the art of implementing computer vision algorithms on Android platforms to build robust and efficient applications

OpenCV is a famous computer vision library, used to analyze and transform copious amounts of image data, even in real time and on a mobile device.

This book focuses on leveraging mobile platforms to build interactive and useful applications. The book starts off with an introduction to OpenCV and Android and how they interact with each other using OpenCV's Java API. You'll also discover basic image processing techniques such as erosion and dilation of images, before walking through how to build more complex applications, such as object detection, image stitching, and face detection. As you progress, you will be introduced to OpenCV's machine learning framework, enabling you to make your applications smarter.

The book ends with a short chapter covering useful Android tips and tricks and some common errors and solutions that people might face while building an application. By the end of the book, readers will have gained more expertise in building their own OpenCV projects for the Android platform and integrating OpenCV application programming into existing projects.

What You Will Learn

Show and hide more Table of contents Product information

Table of contents

  1. Mastering OpenCV Android Application Programming
    1. Table of Contents
    2. Mastering OpenCV Android Application Programming
    3. Credits
    4. About the Authors
    5. About the Reviewers
    6. www.PacktPub.com
      1. Support files, eBooks, discount offers, and more
        1. Why subscribe?
        2. Free access for Packt account holders
        1. What this book covers
        2. What you need for this book
        3. Who this book is for
        4. Conventions
        5. Reader feedback
        6. Customer support
          1. Downloading the example code
          2. Downloading the color images of this book
          3. Errata
          4. Piracy
          5. Questions
          1. Getting started
          2. Setting up OpenCV
          3. Storing images in OpenCV
          4. Linear filters in OpenCV
            1. The mean blur method
            2. The Gaussian blur method
            3. The median blur method
            4. Creating custom kernels
            5. Morphological operations
              1. Dilation
              2. Erosion
              1. Creating our application
              2. Edge and Corner detection
                1. The Difference of Gaussian technique
                2. The Canny Edge detector
                3. The Sobel operator
                4. Harris Corner detection
                1. Hough lines
                2. Hough circles
                1. What are features?
                2. Scale Invariant Feature Transform
                  1. Understanding how SIFT works
                    1. Scale-space extrema detection
                    2. Keypoint localization
                    3. Orientation assignment
                    4. Keypoint descriptor
                    1. Brute-force matcher
                    2. FLANN based matcher
                    3. Matching the points
                    4. Detecting objects
                    1. SURF detector
                    2. SURF descriptor
                      1. Orientation assignment
                      2. Descriptor based on Haar wavelet responses
                      1. oFAST – FAST keypoint orientation
                        1. FAST detector
                        2. Orientation by intensity centroid
                        1. Steered BRIEF
                        2. Variance and correlation
                        1. Scale-space keypoint detection
                        2. Keypoint description
                          1. Sampling pattern and rotation estimation
                          2. Building the descriptor
                          1. A retinal sampling pattern
                          2. A coarse-to-fine descriptor
                          3. Saccadic search
                          4. Orientation
                          5. FREAK in OpenCV
                          1. An introduction to cascade classifiers
                            1. Haar cascades
                            2. LBP cascades
                            1. Optical flow
                              1. The Horn and Schunck method
                              2. The Lucas and Kanade method
                              3. Checking out the optical flow on Android
                              1. Gaussian pyramids
                              2. Laplacian pyramids
                                1. Gaussian and Laplacian pyramids in OpenCV
                                1. Checking out the KLT tracker on OpenCV
                                1. Image stitching
                                  1. Feature detection and matching
                                  2. Image matching
                                    1. Homography estimation using RANSAC
                                    2. Verification of image matches using a probabilistic model
                                    1. Setting up Android NDK
                                    2. The layout and Java code
                                    3. The C++ code
                                    1. Optical Character Recognition
                                      1. OCR using k-nearest neighbors
                                        1. Making a camera application
                                        2. Handling the training data
                                        3. Recognizing digits
                                        1. Recognizing digits in the puzzle
                                        1. Troubleshooting errors
                                          1. Permission errors
                                            1. Some common permissions
                                            1. Handling images in Android
                                              1. Loading images
                                              2. Processing images
                                              1. Transferring data via Intent
                                              2. Using static fields
                                              3. Using a database or a file
                                              1. Let's begin
                                              2. The algorithm
                                              3. Implementing on Android
                                              4. Summary
                                              Show and hide more

                                              Product information

                                              • Title: Mastering OpenCV Android Application Programming
                                              • Author(s): Salil Kapur, Nisarg Thakkar
                                              • Release date: July 2015
                                              • Publisher(s): Packt Publishing
                                              • ISBN: 9781783988204

                                              You might also like

                                              Check it out now on O’Reilly

                                              Dive in for free with a 10-day trial of the O’Reilly learning platform—then explore all the other resources our members count on to build skills and solve problems every day.