Initialization: reading video stream from Webcam or file