summaryrefslogtreecommitdiffhomepage
path: root/video-opencv/impl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'video-opencv/impl.hpp')
-rw-r--r--video-opencv/impl.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/video-opencv/impl.hpp b/video-opencv/impl.hpp
index ed5499b0..8e61989e 100644
--- a/video-opencv/impl.hpp
+++ b/video-opencv/impl.hpp
@@ -8,6 +8,7 @@
#pragma once
#include "video/camera.hpp"
+#include "settings.hpp"
#include <optional>
#include <opencv2/videoio.hpp>
@@ -43,13 +44,17 @@ static constexpr int video_capture_backend =
bool is_open() override;
std::tuple<const frame&, bool> get_frame() override;
bool show_dialog() override;
+ void set_exposure(bool write);
bool get_frame_();
+ dshow_camera_settings s;
+
std::optional<cv::VideoCapture> cap;
cv::Mat mat;
frame frame_;
int idx = -1;
+ exposure_preset exposure = exposure_preset::ignored;
};
} // ns opencv_camera_impl