8
Yes, there are JavaScript ports of OpenCV that perform object detection on images or videos in real-time: js-objectdetect (which contains an upper body classifier) and HAAR.js.
More classifiers can be found in the OpenCV distribution or on the internet, they just have to be converted into another format before they can be read by the JavaScript libraries.