From 2c831b784e42d96e62b46d647bcb5ba09ca4a05c Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 16 May 2023 12:14:29 +0200 Subject: video/ps3eye: add flags for trackhat --- video-opencv/impl-camera.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) 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); -- cgit v1.2.3