SmartSpectra C++ SDK
Measure human vitals from video with SmartSpectra C++ SDK.
Loading...
Searching...
No Matches
camera_tuner_settings.hpp
1// camera_tuner_settings.hpp
2// Created by Greg on 10/10/2025.
3// Copyright (C) 2025 Presage Security, Inc.
4//
5// SPDX-License-Identifier: LGPL-3.0-or-later
6
7#pragma once
8
9namespace presage::smartspectra::video_source {
10
15 // Stage 0: Auto white balance
18
19 // Stage 1: Exposure reduction for framerate
23 double exposure_step = 0.02;
25 double min_exposure = 0.0;
30
31 // Stage 2: Gain increase for brightness
33 double gain_step = 0.05;
35 double max_acceptable_gain = 0.8;
40
41 // Visual feedback
44};
45
46} // namespace presage::smartspectra::video_source
Configuration parameters for the camera tuning process.
Definition camera_tuner_settings.hpp:14
int gain_settle_frames
Number of frames to wait after changing gain for camera to settle.
Definition camera_tuner_settings.hpp:37
bool render_calibrating_overlay
Whether to render "Tuning camera..." overlay on frames during the tuning process.
Definition camera_tuner_settings.hpp:43
double max_acceptable_gain
Maximum acceptable gain value (safety limit)
Definition camera_tuner_settings.hpp:35
int max_exposure_iterations
Maximum iterations for exposure reduction (safety limit)
Definition camera_tuner_settings.hpp:29
int exposure_settle_frames
Number of frames to wait after changing exposure for camera to settle.
Definition camera_tuner_settings.hpp:27
int auto_wb_frame_count
Number of frames to capture for auto white balance establishment.
Definition camera_tuner_settings.hpp:17
double exposure_step
Step size for exposure reduction (normalized)
Definition camera_tuner_settings.hpp:23
double min_acceptable_framerate
Minimum acceptable framerate (FPS) - reduce exposure until framerate reaches this.
Definition camera_tuner_settings.hpp:21
int max_gain_iterations
Maximum iterations for gain increase (safety limit)
Definition camera_tuner_settings.hpp:39
double gain_step
Step size for gain increase (normalized)
Definition camera_tuner_settings.hpp:33
double min_exposure
Minimum exposure value (normalized) - safety limit.
Definition camera_tuner_settings.hpp:25