1: 安装:
OpenCV-2.2.0-win32-vs2010.exe ---C:\OpenCV2.2
python-2.7.5.msi --C:\Python27
matplotlib-1.3.0.win32-py2.7.exe
2: 执行
import sys sys.path.append("C:\OpenCV2.2\Python2.7\Lib\site-packages")
3:测试
import cv
不出错就是正常工作了
详细安装参考:
http://docs.opencv.org/trunk/doc/py_tutorials/py_setup/py_setup_in_windows/py_setup_in_windows.html
或参考