Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Detect Heart Rate using iPhone Camera [duplicate]

Possible Duplicate:
Detecting heart rate using the camera

I am working on detecting pulse rate in iOS. I have done some search and now I am able to read heart beats using external bluetooth device which is capable of reading heart beats. But now I am ver curious about detecting pulse using iPhone camera. I am trying to understand How it can be done? What is actual theory behind that? Can any one have an idea behind this?

According to my search I found that I need to use camera in video mode. And I need to compare each frames from that video for colour changes. When our heart pumps blood into our body, colours are changed with every pump. So how will I get that colour change using camera or is there any other way to do this?

like image 521
user1988 Avatar asked Oct 31 '12 07:10

user1988


People also ask

Can iPhone camera detect heart rate?

* Place the tip of your index finger on the iPhone's camera, and in a couple of seconds, your pulse will be shown! * Instant Heart Rate detects a color change in your finger tip each time your heart beats and uses an advanced algorithm to show you your heart rate.

Can phone camera detect heartbeat?

Measure your heart rateTouch and lightly hold your finger on the back camera lens. Follow the on-screen instructions and keep your hand still. This works best in a well-lit room. If you're in a dimly lit space, point your camera to a light source or turn on your phone's flashlight.


1 Answers

Someone at MIT Media Labs beat you to it :P

http://www.cardiio.com/

Click on "How it works".

I believe the gist of it was that the app measures the amount of light reflected off your face due to increase/decrease in blood. Based on this, they can determine your heart rate.

Don't know about the underlying algorithm. If I know, I wouldn't be sitting here, I'd be writing MIT apps :D

Apparently there is a threshold that is considered a "standard" heart rate.

Studies have shown that our heart rate measurements are within 3 bpm of a clinical pulse oximeter when performed at rest in a well-lit environment (Poh et al., Opt. Express 2010; Poh et al., IEEE Trans Biomed Eng 2011).

You'll probably need some sophisticated equipment to record your results like a real heart rate measure machine so you can compare the RGB (in 255,255,255 triplets values) between different frames at different heart rate and also you have to make sure you're sitting in about the same exact environment with controlled lighting.

If you try to do it at home, you'll get no where. If the sky dims for example, you're going to get different RGBA value.

like image 102
Zhang Avatar answered Sep 30 '22 15:09

Zhang