diff options
-rw-r--r-- | video-opencv/impl-camera.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/video-opencv/impl-camera.cpp b/video-opencv/impl-camera.cpp index afd76310..a3b5ed5d 100644 --- a/video-opencv/impl-camera.cpp +++ b/video-opencv/impl-camera.cpp @@ -50,6 +50,15 @@ void cam::set_exposure(bool write) { cv::CAP_PROP_AUTO_EXPOSURE, 0 }, { cv::CAP_PROP_BRIGHTNESS, 0 }, { cv::CAP_PROP_SHARPNESS, 3 }, + { cv::CAP_PROP_AUTO_EXPOSURE, 0 }, + { cv::CAP_PROP_BRIGHTNESS, 0 }, + { cv::CAP_PROP_SHARPNESS, 3 }, + { cv::CAP_PROP_CONTRAST, 32 }, + { cv::CAP_PROP_HUE, 0 }, + { cv::CAP_PROP_SATURATION, 0 }, + { cv::CAP_PROP_SHARPNESS, 3 }, + { cv::CAP_PROP_GAMMA, 100 }, + { cv::CAP_PROP_BACKLIGHT, 1 }, }; for (const auto [prop, value] : props) cap->set(prop, value); |