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...