Book Image

Mastering OpenCV 4 - Third Edition

By : Roy Shilkrot, David Millán Escrivá
Book Image

Mastering OpenCV 4 - Third Edition

By: Roy Shilkrot, David Millán Escrivá

Overview of this book

Mastering OpenCV, now in its third edition, targets computer vision engineers taking their first steps toward mastering OpenCV. Keeping the mathematical formulations to a solid but bare minimum, the book delivers complete projects from ideation to running code, targeting current hot topics in computer vision such as face recognition, landmark detection and pose estimation, and number recognition with deep convolutional networks. You’ll learn from experienced OpenCV experts how to implement computer vision products and projects both in academia and industry in a comfortable package. You’ll get acquainted with API functionality and gain insights into design choices in a complete computer vision project. You’ll also go beyond the basics of computer vision to implement solutions for complex image processing projects. By the end of the book, you will have created various working prototypes with the help of projects in the book and be well versed with the new features of OpenCV4.
Table of Contents (12 chapters)

Basic introduction to OpenCV.js development

Before starting to develop with OpenCV.js, we require a basic HTML structure with the required HTML elements to work with. In our examples, we are going to use Bootstrap, which is a toolkit to build responsive web applications with multiple predesigned web components and utilities, using HTML, CSS, and JavaScript. We are going to use JQuery library to work easily with HTML elements, events, and callbacks. We can develop the same samples of this chapter without Bootstrap and JQuery, or use other frameworks or libraries like AngularJS, VUE, and so on, but the simplicity of Bootstrap and JQuery will help us understand and write our web page code.

We are going to use the same HTML structure template for all our samples, which consists of a header, a left menu where we put links to each example code, and the main content where we are going...