添加一行备注
This commit is contained in:
parent
e5fc45fe2e
commit
d8caf62e08
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue