Before starting to develop with OpenCV.js, we require a basic HTML structure with the required HTML elements to work with. In our examples, we are going to use Bootstrap, which is a toolkit to build responsive web applications with multiple predesigned web components and utilities, using HTML, CSS, and JavaScript. We are going to use JQuery library to work easily with HTML elements, events, and callbacks. We can develop the same samples of this chapter without Bootstrap and JQuery, or use other frameworks or libraries like AngularJS, VUE, and so on, but the simplicity of Bootstrap and JQuery will help us understand and write our web page code.
We are going to use the same HTML structure template for all our samples, which consists of a header, a left menu where we put links to each example code, and the main content where we are going...