![]() |
SmartSpectra C++ SDK
Measure human vitals from video with SmartSpectra C++ SDK.
|
Interfaces and helpers for obtaining frames for processing. More...
Classes | |
| struct | presage::smartspectra::video_source::VideoSourceSettings |
| Configuration options for constructing a VideoSource. More... | |
| class | presage::smartspectra::video_source::VideoSource |
| Abstract interface for camera/video input sources. More... | |
Enumerations | |
| enum class | presage::smartspectra::video_source::InputTransformMode : int { None , Clockwise90 , Counterclockwise90 , Rotate180 , MirrorHorizontal , MirrorVertical , Unspecified_EnumEnd } |
| Transformation applied to frames prior to processing. | |
| enum class | presage::smartspectra::video_source::ResolutionSelectionMode : int { Auto , Exact , Range , Unknown_EnumEnd } |
Functions | |
| absl::StatusOr< std::shared_ptr< VideoSource > > | presage::smartspectra::video_source::BuildVideoSource (const VideoSourceSettings &settings) |
| Factory helper for constructing the appropriate VideoSource implementation based on the provided settings. | |
| std::string | presage::smartspectra::video_source::AbslUnparseFlag (InputTransformMode mode) |
| bool | presage::smartspectra::video_source::AbslParseFlag (absl::string_view text, InputTransformMode *mode, std::string *error) |
| std::string | presage::smartspectra::video_source::AbslUnparseFlag (ResolutionSelectionMode mode) |
| bool | presage::smartspectra::video_source::AbslParseFlag (absl::string_view text, ResolutionSelectionMode *mode, std::string *error) |
| std::vector< std::string > | presage::smartspectra::video_source::GetResolutionSelectionModeNames () |
Variables | |
| const std::vector< std::string > | presage::smartspectra::video_source::kInputTransformModeNames |
| const std::string | presage::smartspectra::video_source::kInputTransformModeNameList = absl::StrJoin(kInputTransformModeNames, ", ") |
Interfaces and helpers for obtaining frames for processing.
|
strong |
How capture resolution should be selected.
| bool presage::smartspectra::video_source::AbslParseFlag | ( | absl::string_view | text, |
| InputTransformMode * | mode, | ||
| std::string * | error ) |
Parse an input transform mode from a flag string.
| bool presage::smartspectra::video_source::AbslParseFlag | ( | absl::string_view | text, |
| ResolutionSelectionMode * | mode, | ||
| std::string * | error ) |
Parse a resolution selection mode from a flag.
| std::string presage::smartspectra::video_source::AbslUnparseFlag | ( | InputTransformMode | mode | ) |
Convert an input transform mode to a string for flags.
| std::string presage::smartspectra::video_source::AbslUnparseFlag | ( | ResolutionSelectionMode | mode | ) |
Convert a resolution selection mode to a string for flags.
| std::vector< std::string > presage::smartspectra::video_source::GetResolutionSelectionModeNames | ( | ) |
Names of the available resolution selection modes.
| const std::string presage::smartspectra::video_source::kInputTransformModeNameList = absl::StrJoin(kInputTransformModeNames, ", ") |
Comma separated list of mode names.
| const std::vector< std::string > presage::smartspectra::video_source::kInputTransformModeNames |
List of input transform mode names.