pub fn ensemble_respiration(
motion: Option<RrEstimate>,
rppg_harmonic: Option<RrEstimate>,
min_confidence: f32,
) -> Result<RrEstimate, CvError>Expand description
Combine optional motion and rPPG-harmonic RR estimates.
- At least one
Somerequired; both preferred. min_confidence— fail closed if fused confidence is below this (e.g. 0.15).