Live data from Hacker News

Webcam Pulse Detector

github.com

21–30 of 85 posts

Re: Webcam Pulse Detector

#21
post #20
post #10

Earlier quoted context omitted.

It's precise enough for the application. Webcams typically have a 15-30 fps framerate. Heartrates are typically 30-200 bpm (~= 0.5 to 3.3 bps).

It seems that the Nyquist-Shannon sampling rate would be too low for the results to be accurate.

No ? The frequency needs to be at-least double this seems the be the case. However webcam noise and the algorithm might increase the need.

Re: Webcam Pulse Detector

#25
post #22

There is already an Android app[1] that does something similar. You put your finger up to the rear-camera and it detects your heart rate. [1] https://play.google.com/store/apps/details?id=si.modula.andr...

It works differently. This one works by magnification of tiny changes (colour, movement, etc)

See also: http://people.csail.mit.edu/mrub/vidmag/

Re: Webcam Pulse Detector

#26
post #20

Earlier quoted context omitted.

It seems that the Nyquist-Shannon sampling rate would be too low for the results to be accurate.

No ? The frequency needs to be at-least double this seems the be the case. However webcam noise and the algorithm might increase the need.

The webcam framerate should be at least double the heart rate to get an accurate measurement, not the other way around.

Re: Webcam Pulse Detector

#27
post #26

Earlier quoted context omitted.

No ? The frequency needs to be at-least double this seems the be the case. However webcam noise and the algorithm might increase the need.

The webcam framerate should be at least double the heart rate to get an accurate measurement, not the other way around.

And isn't this the case?

15 fps (worst case framerate) vs 3 bps (worst case heart rate)

Re: Webcam Pulse Detector

#29
post #27
post #26

Earlier quoted context omitted.

The webcam framerate should be at least double the heart rate to get an accurate measurement, not the other way around.

And isn't this the case? 15 fps (worst case framerate) vs 3 bps (worst case heart rate)

I dont believe so. Since the heart rate could be much higher, it would alias, and the camera wouldn't be able to tell the difference between normal heart rate and low heart rate.

This is what I suspect could happen, with two possible heart rates matching the same set of samples:

http://upload.wikimedia.org/wikipedia/commons/2/28/AliasingS...

Post reply on HN