thearn / webcam-pulse-detector

A python application that detects and highlights the heart-rate of an individual (using only their own webcam) in real-time.
Other
3.15k stars 594 forks source link

VIDIOC_QUERYMENU: Invalid argument #11

Closed evelynmitchell closed 11 years ago

evelynmitchell commented 11 years ago

github/webcam-pulse-detector/openmdao-0.6.0$ python ../get_pulse.py VIDIOC_QUERYMENU: Invalid argument VIDIOC_QUERYMENU: Invalid argument VIDIOC_QUERYMENU: Invalid argument VIDIOC_QUERYMENU: Invalid argument VIDIOC_QUERYMENU: Invalid argument VIDIOC_QUERYMENU: Invalid argument VIDIOC_QUERYMENU: Invalid argument

Window opens with webcam image. Looks fine. But nothing happens. How long should this take?

github/webcam-pulse-detector/openmdao-0.6.0$ python ../test_webcam.py same results

screenshot: http://i.imgur.com/Ix8fDP4.jpg

Notice the white lines on the left of the image. Otherwise nothing different.

thearn commented 11 years ago

The lines that show up with test_webcam.py are part of the test, so that's okay.

If nothing seems to happen when get_pulse.py is run, then it may not be able to detect your face. Try moving the camera around, or change the ambient lighting a bit, etc.