diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-11 17:27:18 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2024-02-11 17:27:18 +0100 |
commit | 1555e20449f390e4a747c0d181d71194312eb1c8 (patch) | |
tree | 3941fc7da05337dd5562dbcfc624de3b8e4d72ec | |
parent | 98edf8f8da40b7a16af6bf135f47edb1a7e5f04c (diff) |
video/opencv: also try harder to set exposure on startuptrackhat-sensor-v2
-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 c18c35ba..a0d6b2ed 100644 --- a/video-opencv/impl-camera.cpp +++ b/video-opencv/impl-camera.cpp @@ -89,6 +89,7 @@ bool cam::start(info& args) cap->set(cv::CAP_PROP_FOURCC, cv::VideoWriter::fourcc('M', 'J', 'P', 'G')); set_exposure(*s.exposure); + writes = 3; if (!cap->isOpened()) goto fail; |