With the getUserMedia API, a video element, a canvas element and LiuLiu’s excellent face detection algorithm, we can easily play around with webcam video data in the browser, plug-in free.
Paul Hayes, the developer at Last.fm has created two fun experiments with face detection, canvas and webcam video. One places a mask over your face as you move and another that attempts to scale content based on your distance from the screen.
The face detection only works some of the time. With busy backgrounds or low light conditions the detection fails more often. Sometimes the wrong area is detected, which can lead to radical and jarring shifts in the scale. Perhaps a rolling average would be a better indication, alas he hasn’t built that.
License: License Free