Yes, there are OpenCV JavaScript ports that detect objects in images or video in real time: js-objectdetect (which contains the upper body classifier) ββand HAAR.js.
Other classifiers can be found in the OpenCV distribution or on the Internet , they just need to be converted to another format before they can be read by JavaScript libraries.
source share