Struct RppgWindow#

Struct Documentation#

struct RppgWindow#

One HR-analysis window’s estimate. Mirrors run_rppg.py’s “windows” JSON array exactly. bpm/smoothedBpm/snrDb are NaN when this window had no reliable estimate (“no_face”/insufficient-data — never fabricated, see run_rppg.py’s MIN_VALID_FRACTION gate).

Public Members

int64_t startMs = 0#
int64_t endMs = 0#
double bpm = std::numeric_limits<double>::quiet_NaN()#
double smoothedBpm = std::numeric_limits<double>::quiet_NaN()#
double snrDb = std::numeric_limits<double>::quiet_NaN()#
double validFrameFraction = 0.0#