SmartSpectra C++ SDK
Measure human vitals from video with SmartSpectra C++ SDK.
Loading...
Searching...
No Matches
presage::smartspectra::gui::OpenCvValueIndicator Class Reference

Public Member Functions

 OpenCvValueIndicator (int x, int y, int width, int height, int precision_digits=1)
absl::Status Render (cv::Mat &image, float value, cv::Scalar color)
absl::Status RenderNA (cv::Mat &image, cv::Scalar color)

Static Public Attributes

static const float min_value = 0.0
static const float max_value = 999.9

Constructor & Destructor Documentation

◆ OpenCvValueIndicator()

presage::smartspectra::gui::OpenCvValueIndicator::OpenCvValueIndicator ( int x,
int y,
int width,
int height,
int precision_digits = 1 )
Parameters
x- left coordinate of the text box
y- bottom coordinate of the text box
width- width of the text box
height- height of the text box
precision_digits- number of digits after the decimal point

The documentation for this class was generated from the following files: