OpenCV 3.2 with Python 3 VideoCapture changes settings of v4l2
问题 I worked with OpenCV 3.2 with Python3 and SBC OXU4. I have a true 5MPx web-camera connected to SBC. I want to take from this camera 2592x1944 resolution picture. If I use Cheese I can take picture with this resolution. I can save pictures with command line program streamer -t 4 -r 4 -s 2592x1944 -o b0.jpeg But when I take picture with OpenCV3.2 like this: #!/usr/bin/env python3 import cv2 import os import time capture1 = cv2.VideoCapture(2) if capture1.isOpened(): capture1.set(3, 2592)