SmartSpectra C++ SDK
Measure human vitals from video with SmartSpectra C++ SDK.
Loading...
Searching...
No Matches
factory.hpp
1// factory.hpp
2// Created by Greg on 3/1/2024.
3// Copyright (C) 2025 Presage Security, Inc.
4//
5// SPDX-License-Identifier: LGPL-3.0-or-later
6
7#pragma once
8// === standard library includes (if any) ===
9#include <memory>
10// === third-party includes (if any) ===
11#include <absl/status/statusor.h>
12// === local includes (if any) ===
13#include "video_source.hpp"
14#include "settings.hpp"
15
16namespace presage::smartspectra::video_source {
17
23absl::StatusOr<std::shared_ptr<VideoSource>> BuildVideoSource(const VideoSourceSettings& settings);
24
25} // namespace presage::smartspectra::video_source
absl::StatusOr< std::shared_ptr< VideoSource > > BuildVideoSource(const VideoSourceSettings &settings)
Factory helper for constructing the appropriate VideoSource implementation based on the provided sett...
Definition factory.cpp:20
Configuration options for constructing a VideoSource.
Definition settings.hpp:23