OpenCV.js

OpenCV.js provides JavaScript bindings for a subset of the OpenCV library, enabling developers to perform computer vision tasks directly in the browser. It supports operations on images and video feeds, including object detection and background subtraction.

Link