optris::sdk::rec::RecordingController::IntervalCaptureConfig
How to capture a still image every so often, for a time-lapse or a long unattended run.
Public attributes
interval
std::chrono::milliseconds interval {std::chrono::seconds{10}}
Time between captures. Must be positive. An interval shorter than the camera's frame period is raised to it; see StartIntervalCapture().
directory
std::string directory
Where the files go. Empty means the controller's output directory, and failing that the current directory. A folder that is not there yet is created, with the folders above it.
name_pattern
std::string name_pattern = "snapshot_{sequence}"
Filename stem, without extension. See File name patterns for the placeholders: {sequence}, {timestamp}, {serial} and {model} all expand here. An existing file is not overwritten.
format
SnapshotFormat format = SnapshotFormat::kPng
Image format, which also picks the file extension.