Summary
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access