windows和linux下简单的软件级调整相机曝光时间(或其他参数)的方式
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash

·
windows
使用opencv进行调整
cv::VideoCapture videoCapture(0);
videoCapture.set(CV_CAP_PROP_FRAME_WIDTH, 640);
videoCapture.set(CV_CAP_PROP_FRAME_HEIGHT, 480);
videoCapture.set(CV_CAP_PROP_EXPOSURE, -7);
当然还有其他参数这里只用了曝光时间
linux
使用v4l2命令来调整参数 v4l2-ctl --all
列出所有设备及参数 v4l2-ctl --set-ctrl=exposure_auto=1
将曝光时间调为手动设置 v4l2-ctl --set-ctrl=exposure_absolute=100
曝光时间
参考链接




A beautiful web dashboard for Linux
最近提交(Master分支:1 个月前 )
186a802e
added ecosystem file for PM2 5 年前
5def40a3
Add host customization support for the NodeJS version 5 年前
更多推荐
所有评论(0)