Simple browser based motion detection with the getUserMedia and Canvas APIs