I tried to use the webcam and take pictures every 5 seconds via openCV but the cam itself didn\'t work and kept causing the error... I also tried changing the integer in the cv2