Takes in 1min recording of finger on iphone camera lens and estimates heart rate and HRV using photoplethysmography
For each frame, convert RGB to HSV (Hue-Saturation-Value). Normalized hue signal over time reflects pulse. Distance between peaks yields beats per minute, variability in these distances yields HRV.