To finish this chapter on OpenCV.js, we are going to learn how to create a face detector using Haar features in a cascade classifier algorithm. To get detailed information about face detector using Haar and Cascade classifier you can read it in Chapter 3, Face Landmark and Pose with the Face Module, in the Facial Landmark Detection in OpenCV section and Chapter 5, Face Detection and Recognition with the DNN Module, in the Face detection section that describe in detail how this two methods works.
Like the previous chapter, we are going to work with video input and canvas output, then we are going to reuse the same HTML structure to start our development:
<div class="row">
<div class="col">
<div id="status" class="alert alert-primary" role="alert"...