OpenCV设置和获取摄像头参数
适用于VideoCapture打开的摄像头VideoCapture capture(0);设置摄像头参数不要随意修改capture.set(CV_CAP_PROP_FRAME_WIDTH, 1080);//宽度capture.set(CV_CAP_PROP_FRAME_HEIGHT, 960);//高度capture.set(CV_CAP_PROP_FPS, 30);/...