Is there ANYWHERE with a functional step-by-step-by-step guide to doing this? I've tried everything I've found after hours and hours of googling (so please do not link opencv wiki or other top search result), but none of it works! I still get the module doens't exist.
Thank you very much!
I had installed OpenCV with python on my mac using homebrew without any problems about 6 months ago:
$brew install opencv
Homebrew printed a message after installation that I need to specify the python path correctly and I added this line in my .bash_profile:
It worked for me perfectly (for example, I have autocompletion of the OpenCV Python interface in MacVim).
UPD: Also if you run
$brew info opencv then homebrew will print this information about Python bindings:
The OpenCV Python module will not work until you edit your PYTHONPATH like so:
To make this permanent, put it in your shell's profile (e.g. ~/.profile).
Asked: 2012-09-19 08:46:41 -0500
Seen: 2,074 times
Last updated: Sep 30 '12