An implementation referencing "Hsu, YungChien, Yen-Liang Lin, and Winston Hsu. "Learning-based heart rate detection from remote photoplethysmography features." Acoustics, Speech and Signal Processing (ICASSP), 2014 IEEE International Conference on. IEEE, 2014."