summaryrefslogtreecommitdiffhomepage
path: root/video-opencv/impl-camera.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'video-opencv/impl-camera.cpp')
-rw-r--r--video-opencv/impl-camera.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/video-opencv/impl-camera.cpp b/video-opencv/impl-camera.cpp
index 855f3345..5c7f736d 100644
--- a/video-opencv/impl-camera.cpp
+++ b/video-opencv/impl-camera.cpp
@@ -37,7 +37,8 @@ void cam::set_exposure(bool write)
if (e != exposure)
switch (e)
{
- case exposure_preset::near: cap->set(cv::CAP_PROP_EXPOSURE, -5); qDebug() << "near"; break;
+ case exposure_preset::near: cap->set(cv::CAP_PROP_EXPOSURE, -6); qDebug() << "near"; break;
+ case exposure_preset::medium: cap->set(cv::CAP_PROP_EXPOSURE, -5); qDebug() << "medium"; break;
case exposure_preset::far: cap->set(cv::CAP_PROP_EXPOSURE, -4); qDebug() << "far"; break;
default: break;
}