Releases: MarkusSprunck/webgl-motion-detector
Releases · MarkusSprunck/webgl-motion-detector
Teddy Regards You!
The second release replaces the cube with a teddy bear, which moves his eyes and head in the direction of the movement. Code has been refactored and not needed stuff removed. A simple modal dialog with some help and basic information is available.
First version with moving cube
In this WebGL experiment the browser captures the video signal and compares subsequent frames to detect motion of the user. With this signal the program finds the viewpoint and rotates the 3D cube.
The algorithm is very simple, robust and extremely fast compared with classic face detection approaches. The code is based on Three.js (r56) and JavaScript. It is tested with Chrome (v34) and Firefox (v28).