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)


In this chapter, we learned how to use OpenCV.js in a web page, how to basically create a HTML structure, and how to access each HTML element in order to interact with them. We learned how to create a basic user interface and access image and video streaming through video HTML tags, using the newest HTML5 standards which most browsers implement.

We learned how to load OpenCV.js and check that it is ready to use in our JavaScript programs. We created a web application to apply multiple filters by applying to the input image.

We created an optical flow application that allows developers to create new possibilities of applications like augmented reality and so on.

Finally, we learned how to detect faces in real time using the webcam allowing us to extend it to create new applications for face identification, gestures, or emotion detection.

Now, OpenCV is on the web. Enjoy...