![]() |
SmartSpectra C++ SDK
Measure human vitals from video with SmartSpectra C++ SDK.
|
Helper for managing polling of operation-specific graph streams. More...
#include <operation_context.hpp>
Public Member Functions | |
| OperationContext (const settings::OperationSettings< settings::OperationMode::Continuous > &settings) | |
| void | Reset () |
| absl::Status | InitializePollers (mediapipe::CalculatorGraph &graph) |
| absl::Status | QueryPollers (bool &operation_state_changed, bool verbose) |
Helper for managing polling of operation-specific graph streams.
| absl::Status presage::smartspectra::container::OperationContext< TOperationMode >::InitializePollers | ( | mediapipe::CalculatorGraph & | graph | ) |
Initialize pollers required for the given operation mode.
| absl::Status presage::smartspectra::container::OperationContext< TOperationMode >::QueryPollers | ( | bool & | operation_state_changed, |
| bool | verbose ) |
Poll graph output streams and update internal state.