Video processing algorithms for the Webcam