Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying OpenCV Android Programming By Example
  • Table Of Contents Toc
OpenCV Android Programming By Example

OpenCV Android Programming By Example

By : Amgad Muhammad
4 (1)
close
close
OpenCV Android Programming By Example

OpenCV Android Programming By Example

4 (1)
By: Amgad Muhammad

Overview of this book

Starting from the basics of computer vision and OpenCV, we'll take you all the way to creating exciting applications. You will discover that, though computer vision is a challenging subject, the ideas and algorithms used are simple and intuitive, and you will appreciate the abstraction layer that OpenCV uses to do the heavy lifting for you. Packed with many examples, the book will help you understand the main data structures used within OpenCV, and how you can use them to gain performance boosts. Next we will discuss and use several image processing algorithms such as histogram equalization, filters, and color space conversion. You then will learn about image gradients and how they are used in many shape analysis techniques such as edge detection, Hough Line Transform, and Hough Circle Transform. In addition to using shape analysis to find things in images, you will learn how to describe objects in images in a more robust way using different feature detectors and descriptors. By the end of this book, you will be able to make intelligent decisions using the famous Adaboost learning algorithm.
Table of Contents (8 chapters)
close
close

Cascade classifiers


In this section, we will discuss the powerful cascade classifier and its components, Haar features, integral images, Adaptive Boosting (Adaboost), and cascading to build an object detector.

In a nutshell, to construct an object detector, you train it using positive samples (let's say, faces of size 24x24) and negative samples (any other images that are not faces). You keep refining the training process to minimize the training error (the total number of faces classified as non-faces and total number of non-faces classified as faces).

Once the training is done and we get a new image, we ask the detector to check if it has a positive sample (that is, face). The steps followed to do so are as follows:

  1. The detector will scan the input image using a scanning window, and every window scanned will get a score.

  2. The detector then will say that this window contains a positive sample if its score is greater than a certain threshold; otherwise, it does not.

Haar-like features

Haar-like...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
OpenCV Android Programming By Example
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon