Webcam capture using OpenCV