代码 import cv2 as cv import numpy as np capture = cv.VideoCapture(0) width = 640 height = 480 capture.set(cv.CAP_PROP_F