TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Measuring heart rate with a smartphone camera

48 pointsby yatiover 11 years ago

8 comments

tzsover 11 years ago
That talks about putting a finger right on the camera. You don&#x27;t actually have to go anywhere near the camera to measure heart rate. See the iPhone app Cardiio [1] which gets your heart rate by looking at your face.<p>The technique behind this, Eulerian Video Magnification, is pretty cool. There is a description and a very nifty video at [2].<p>[1] <a href="http://www.cardiio.com" rel="nofollow">http:&#x2F;&#x2F;www.cardiio.com</a><p>[2] <a href="http://people.csail.mit.edu/mrub/vidmag/" rel="nofollow">http:&#x2F;&#x2F;people.csail.mit.edu&#x2F;mrub&#x2F;vidmag&#x2F;</a>
评论 #6437659 未加载
评论 #6436916 未加载
评论 #6437735 未加载
评论 #6436799 未加载
sharpneliover 11 years ago
Great article. I just cannot contain my need to nitpick (I have background in Ultrasound signal processing).<p>It&#x27;s Hann window. Not Hanning window. There is a window function called Hamming window due to which some mistakenly add the &#x27;ing&#x27; to Hann window too.<p>Second of all &quot;In summary, with a 6-second window, we get a tolerable 6-second startup delay that gives a fair time accuracy of 6 seconds and a fair frequency accuracy of 5 bpm (half the FFT resolution)&quot; is bit incorrect. You do get far more accuracy in determining the frequency of that single signal. What the window length determines is the limit where you can separate 2 signals. So using that window you would mix up 2 signals that are 5bpm or closer to eachother and they would look like a single signal. Having 2 humans with similar heart rates in same video stream would thus be unseparable using that length. But you can determine the heart rate of a single individual with far more accuracy.<p>The correct term would be &quot;precision&quot; as per <a href="http://en.wikipedia.org/wiki/File:Accuracy_and_precision.svg" rel="nofollow">http:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;File:Accuracy_and_precision.svg</a><p>Nonetheless this is an excellent article.
gmacover 11 years ago
I&#x27;ve been toying with a similar setup. Most of the time, you can actually get a really good estimate of the heart rate by doing simple-minded peak detection on the raw averaged brightness signal (e.g. using the algorithm here: <a href="http://www.billauer.co.il/peakdet.html" rel="nofollow">http:&#x2F;&#x2F;www.billauer.co.il&#x2F;peakdet.html</a>). However, the iPhone camera can&#x27;t be prevented from periodically adjusting exposure parameters (as far as I&#x27;ve been able to tell), and I&#x27;ve not been able to stop this screwing things up once or twice a minute. In other projects I&#x27;ve had some success using the FFT and windowing functions of Apple&#x27;s Accelerate.framework, so I may see now if the Matlab code shown here can be translated to run in real-time on the phone.
评论 #6437081 未加载
BrianPetroover 11 years ago
I&#x27;ve seen and used apps using this tech(or similar). Ideally this can be used to evaluate need of emergency service automatically. For instance, if someone collapsed while holding the phone and sensors were able to alert EMS. Idk, maybe wishful thinking.
VladRussian2over 11 years ago
basically a smartphone size polygraph or a software version of Dr. Lightman (&quot;Lie to me&quot;). Heart rate, eyes expansion&#x2F;contraction, pattern recognition on face muscle twitching, like of lips, eyelids, ... Could something like it speed up, for example, TSA lines at airports? Automated &quot;checkout&quot; lines like in grocery stores - face camera, hand palm on touch pad, &quot;Are you a terrorist with a bomb? Choose Yes or No&quot; (reminds a gun vending machine scene from South Park if i remember correctly :)
评论 #6437021 未加载
DieBucheover 11 years ago
Mirror: <a href="http://www.readability.com/articles/jywwrz1h" rel="nofollow">http:&#x2F;&#x2F;www.readability.com&#x2F;articles&#x2F;jywwrz1h</a>
JazCEover 11 years ago
I had been wondering about this myself. Thank you for the breakdown. Most interesting.
alxover 11 years ago
website is down, is there a mirror?
评论 #6437377 未加载
评论 #6436987 未加载
评论 #6438134 未加载