This website uses Single Shot Multibox Detector to detect human faces.
How it works under the hood:
1. It uses JavaScript to ask for Webcam permission, once granted it captures frames and sends them to the Flask backend via an AJAX post request.
2. The Flask backend captures the incoming frames, uses the SSD model (trained on human selfie images) to detect human faces and returns detected bounding box coordinates.
3. The ajax call receives the bounding box coordinates and plots them onto the html canvas.