Follow webcam motion

The following script will allow a sprite to follow motion from the webcam. This is not exact, but it will work for simple webcam movement.