pub fn spectral_rr_peak(
trace: &[f32],
fps: f32,
min_snr: f32,
) -> Result<RrEstimate, CvError>Expand description
Core spectral peak search in the respiratory band. Fail closed on low SNR.
Shared by motion RR and rPPG low-frequency harmonic paths.