50 const std::string& file_name,
51 unsigned int png_compression = 9);
54 static void recordSnapshot(
const cv::Mat& image,
const std::filesystem::path& path);
55 static void recordSnapshot(
const CByteImage& image,
const std::filesystem::path& path);
AbstractSequencedRecordingStrategy()
Default constructor to manually start the recording.
unsigned int m_png_compression
void startRecording() override
Starts the recording manually if constructed empty.
static void recordSnapshot(const cv::Mat &image, const std::filesystem::path &path)
void recordFrame(const cv::Mat &frame, std::chrono::microseconds timestamp) override
Adds the given frame to the recording.
~PNGRecordingStrategy() override