Book Image

Computer Vision for the Web

By : Foat Akhmadeev
Book Image

Computer Vision for the Web

By: Foat Akhmadeev

Overview of this book

This book will give you an insight into controlling your applications with gestures and head motion and readying them for the web. Packed with real-world tasks, it begins with a walkthrough of the basic concepts of Computer Vision that the JavaScript world offers us, and you’ll implement various powerful algorithms in your own online application. Then, we move on to a comprehensive analysis of JavaScript functions and their applications. Furthermore, the book will show you how to implement filters and image segmentation, and use tracking.js and jsfeat libraries to convert your browser into Photoshop. Subjects such as object and custom detection, feature extraction, and object matching are covered to help you find an object in a photo. You will see how a complex object such as a face can be recognized by a browser as you move toward the end of the book. Finally, you will focus on algorithms to create a human interface. By the end of this book, you will be familiarized with the application of complex Computer Vision algorithms to develop your own applications, without spending much time learning sophisticated theory.
Table of Contents (13 chapters)

Refresh your memory


In this book, we have applied different image processing and Computer Vision techniques to images and videos. Starting from fundamental math operations, we saw how basic math can be used for different applications and how it is important to know mathematics to understand the basics of image processing. Those operations were extended to provide a clear means of image filtering. The main concept here was the image convolution when a transformation was applied for each image pixel. Then, we followed the path of object detection. We even created our own object detector! The face detection and tracking algorithms showed us that these types of methods can be applied to create a human interface. We saw an example of this in the previous chapter (cube rotation with a head). One of the most exciting methods is optical flow, with the help of which you can easily track objects and create complex programs that are controlled by gestures. Let's have a small exercise. In the following...