NanoCamera icon indicating copy to clipboard operation
NanoCamera copied to clipboard

usb cam can't adjust resolution

Open Steven-ZY opened this issue 3 years ago • 0 comments

For the same USB camera, the following code is helpful to adjust the resolution. But the nanocamera can't.

capture = cv2.VideoCapture(3)

if capture.isOpened():
    capture.set(cv2.CAP_PROP_FRAME_WIDTH, 640)
    capture.set(cv2.CAP_PROP_FRAME_HEIGHT, 480)

Steven-ZY avatar Jul 21 '21 16:07 Steven-ZY