summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--video-opencv/impl-camera.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/video-opencv/impl-camera.cpp b/video-opencv/impl-camera.cpp
index a3b5ed5d..855f3345 100644
--- a/video-opencv/impl-camera.cpp
+++ b/video-opencv/impl-camera.cpp
@@ -59,6 +59,7 @@ void cam::set_exposure(bool write)
{ cv::CAP_PROP_SHARPNESS, 3 },
{ cv::CAP_PROP_GAMMA, 100 },
{ cv::CAP_PROP_BACKLIGHT, 1 },
+ { cv::CAP_PROP_GAIN, 0 },
};
for (const auto [prop, value] : props)
cap->set(prop, value);