Constructor
Primary method
PhysiologicalSignals dataclass
Library dependencies
- OpenCV (
cv2) — face detection - rPPG library (
heartpy) — HR / HRV - SciPy (
scipy.signal,scipy.interpolate,scipy.fft) — filtering - NumPy (
numpy) — arrays
Failure modes
The engine returns the metric withconfidence: 0.0 rather than fabricated values when:
- Face detection fails on > 30 % of frames
- SNR ≤ 3.0
- Recording shorter than the declared minimum duration