From d8caf62e08c93a749e8ca899e93ae3b569a1c24b Mon Sep 17 00:00:00 2001 From: conglinyizhi Date: Sat, 7 Dec 2024 02:31:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=B8=80=E8=A1=8C=E5=A4=87?= =?UTF-8?q?=E6=B3=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index 331480c..58113d3 100644 --- a/src/main.rs +++ b/src/main.rs @@ -21,6 +21,7 @@ fn main() { // 配置摄像头参数 match camera.start(&Config { + // use command 'v4l2-ctl --list-formats-ext' see more... interval: (1, 30), // 设置帧率为 30fps resolution: (640, 480), // 设置分辨率为 640x480 format: b"MJPG", // 设置图像格式为 MJPG