添加一行备注

This commit is contained in:
conglinyizhi 2024-12-07 02:31:59 +08:00
parent e5fc45fe2e
commit d8caf62e08
1 changed files with 1 additions and 0 deletions

View File

@ -21,6 +21,7 @@ fn main() {
// 配置摄像头参数 // 配置摄像头参数
match camera.start(&Config { match camera.start(&Config {
// use command 'v4l2-ctl --list-formats-ext' see more...
interval: (1, 30), // 设置帧率为 30fps interval: (1, 30), // 设置帧率为 30fps
resolution: (640, 480), // 设置分辨率为 640x480 resolution: (640, 480), // 设置分辨率为 640x480
format: b"MJPG", // 设置图像格式为 MJPG format: b"MJPG", // 设置图像格式为 MJPG