FingerPy is a algorithm using python, scipy and fft to measure, analyse and monitor heart-beat using only a video of the user’s finger on a mobile cellphone camera.
On the repository directory:
pip3 install -r requirements.txt
- Record a video pressing your finger against the camera
- Copy video to
python3 main.py samples/your_video.mp4|avi|MOV
python3 main.py samples/test_finger.avi
- Upper plot show the intensity of brightness (y) over time (x)
- Lower plot show the spectrum density of the signal that is Potency (y) over frequency bucket (x)
This is just an example GIF as the video should be. Notice the minimal variations in brightness that might be read by the algorithm.