diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-05-16 12:14:29 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-05-16 12:16:23 +0200 |
commit | 2c831b784e42d96e62b46d647bcb5ba09ca4a05c (patch) | |
tree | a29e8d324daa3bef9afb36bf86af8b16adf3c82e | |
parent | 780aca2622d907320a1cf462390f192fb3ae4b31 (diff) |
video/ps3eye: add flags for trackhat
-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); |