259 points · by theschwa · 13y ago · 79 comments
[1] https://play.google.com/store/apps/details?id=si.modula.andr...
See also: http://people.csail.mit.edu/mrub/vidmag/
OpenCV Error: Assertion failed (p.checkVector(2, CV_32S) >= 0) in polylines, file /tmp/buildd/opencv-2.3.1/modules/core/src/drawing.cpp, line 2064
Maybe somebody that knows more about OpenCV than I do can figure out what's wrong.
I did have to downgrade to the ffmpeg (ffmpeg @1.2_1+gpl2+nonfree) port (from ffmpeg-devel) due to build errors in opencv, but worked ok after that.
Couple of the openMDAO packages didn't install either, but didn't seem to harm anything.
This would probably be a bad metric though, you might accidentally be selecting for sociopathic traits or something which might be undesirable in a politician.
I really like their apps and I'm quite proud that they originate from my neck of the woods.
Probably only applicable if you work from home though.
[1] http://www.nonin.com/OEMSolutions/WristOx2-Model-3150-OEM
brew install gfortran
sudo easy_install scipy
sudo port install opencv +python27
export PYTHONPATH=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/:$PYTHONPATH
wget http://openmdao.org/releases/0.5.0/go-openmdao.py
sudo python ./go-openmdao.py
cd ~/Downloads/webcam-pulse-detector-master/openmdao-0.5.0
. bin/activate
cd ~/Downloads/webcam-pulse-detector-master && python get_pulse.py
Hope it's helpful to anyone else doing the same. OpenCV is segfaulting now, but I may update this later if I get it.
brew upgrade
brew tap homebrew/science
brew install opencv
brew install gfortran
sudo easy_install scipy
mkdir OpenMDAO
cd OpenMDAO/
brew install wget
wget http://openmdao.org/releases/0.5.0/go-openmdao.py
export PYTHONPATH=/usr/local/Cellar/opencv/2.4.4a/lib/python2.7/site-packages/:/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/:/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/:$PYTHONPATH
sudo python ./go-openmdao.py
cd openmdao-0.5.0/
. bin/activate
#get the project in webcam-pulse-detector I used the github app
cd ../../webcam-pulse-detector/
python get_pulse.py
gulp. fortran?
Imagine being able to look at someone and know their pulse. You'd have a wearable lie detector.
Reminds me of this question on Stack Overflow:
http://stackoverflow.com/questions/12416772/is-there-an-equi...
http://abcnews.go.com/blogs/technology/2013/04/passthoughts-...
Webcams typically have a 15-30 fps framerate. Heartrates are typically 30-200 bpm (~= 0.5 to 3.3 bps).
It seems quite sensitive to image saturation for losing lock though.
But why is he analyzing the green channel then? :)
I am not confident in this explanation, and still don't know why green over blue.