diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-05-16 12:36:50 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-05-16 12:36:50 +0200 |
commit | f4bfa27d77d35972c104c3cd632058e5f1d66da6 (patch) | |
tree | 2f769ce1c1e2531ae633b39b8321f9494b2365ed | |
parent | 5e73a2f8af689afbf9ca4da0c7239b6537e6a9ce (diff) |
video/opencv: add gaintrackhat-opentrack-3.2
-rw-r--r-- | video-opencv/impl-camera.cpp | 1 |
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); |