Test capturing image from webcam.