From 347cd2ba6bd6838bbda908195c7cb55f6428d1bc Mon Sep 17 00:00:00 2001 From: zy Date: Thu, 2 Jan 2025 22:18:29 +0800 Subject: [PATCH] =?UTF-8?q?build(smp=5Fcoder):=20=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E7=9B=B8=E6=9C=BA=E8=84=9A=E6=9C=AC=E4=BD=BF=E7=94=A8=20fswebc?= =?UTF-8?q?am=E6=8D=95=E8=8E=B7=E5=9B=BE=E5=83=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 替换 libcamera-still 命令为 fswebcam 命令 - 设置图像分辨率和质量参数 - 移除不需要的 --no-banner 选项 -调整文件保存路径 --- smp_coder/camera.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/smp_coder/camera.sh b/smp_coder/camera.sh index 634a515..09ffeab 100644 --- a/smp_coder/camera.sh +++ b/smp_coder/camera.sh @@ -1,3 +1,4 @@ #!/usr/bin/bash -libcamera-still -o /tmp/image.jpg --timeout 10 \ No newline at end of file + +fswebcam -r 1280x720 --no-banner -S 20 /tmp/image.jpg \ No newline at end of file