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)

Introduction to Web Computer Vision with OpenCV.js

This chapter introduces you to a new way to develop computer vision algorithms for the web. When a computer vision algorithm has to be written for the World Wide Web, normally it is a C++ program on the server that is executed when a client calls it via a web server, but with OpenCV.js, this way to develop computer vision algorithms is extended not only on the server but also extended to the browser client. The algorithms can be executed in the client browser, allowing developers to have more flexibility and use the benefits of running code in the clients' browsers.

In this chapter, we are going to learn the following:

  • What OpenCV.js is and the benefits of client browser code
  • Develop basic algorithms for image manipulation
  • Work with video or webcam in the browser
  • Manipulate frames with OpenCV.js
  • Face detection in a web browser...