Skip to content

Push your smartphone camera with your fingertip, record and find out your heart rate.

License

Notifications You must be signed in to change notification settings

newtonmwai/Video2HeartRate

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

These Matlab scripts compute your heart rate over time from a video of your fingertip captured with your smartphone. To get good results, you must press the camera lens gently. Make sure that your fingertip covers the lens completely. If your phone has a torch next to the lens, turn it on so it illuminates your fingertip and makes the image brighter (without causing a white image because of sensor saturation).

These are the sources accompanying the blog post "Measuring heart rate with a smartphone camera" at uavster.com. For further information on how the code works, please read the article.

How to use the Matlab scripts

  1. Compute the brightness signal from a video:
brightness = acquire('path to the video file');
  1. Then, process the signal:
process(brightness);

A plot will open and you will see an animation of the estimated heart rate over time.

About

Push your smartphone camera with your fingertip, record and find out your heart rate.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published