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.16k stars 597 forks source link

cv2 module not found #9

Closed thapakrish closed 11 years ago

thapakrish commented 11 years ago

Did anyone else have this issue? I have latest OpenCv, OpenMDAO, and python 2.7. I also did the . bin/activate.

hof commented 11 years ago

See http://opencvpython.blogspot.com/2012/05/install-opencv-in-windows-for-python.html

thapakrish commented 11 years ago

I have a python build from Enthought, which may be the cause for all this. http://openmdao.org/releases/0.5.5/docs/getting-started/troubleshooting.html

thearn commented 11 years ago

I used an enthought python distribution for OpenMDAO successfully for a long time (but switched to a Homebrew python distribution on OSX a while back). Can you import cv2 in a plain python terminal outside of this code? If not, it must be a problem with your opencv installation. It can be a pain to install correctly, unfortunately.

evelynmitchell commented 11 years ago

I had this issue on Ubuntu and had to also install python-opencv.