Take pictures with a webcam at regular intervals.