Face detection and tracking are used to observe the tiny variations in skin tone that result from the increased blood flow after a heart beat. By averaging, filtering and Fourier-transforming these variations the heart rate is estimated and graphed.
Multiple persons in the scene are analysed simultaneously.
pip3 install heartwave
heartwave [optional filename, URL or camera ID]