Capturing and Processing Video from a Webcam