I wrote a code that works fine in windows, but when I bring it over to linux (raspbian) I get VIDIOC_QUERYMENU: Invalid Argument. The section of code that gives me this problem is this section:
The rest of the code works fine. Does anybody know how to remedy this?
camera_port = 0 ramp_frames = 0 camera = cv2.VideoCapture(camera_port) def get_image(): retval, im = camera.read() return im for i in xrange(ramp_frames): temp = get_image()