working capture of webcam