0_安装python2.7.x
python.org官网下载python2.7
1_numpy下载1.9.1
http://sourceforge.net/projects/numpy/files/NumPy/1.9.1/
下载之后安装即可
2_opencv下载2.4.10
http://sourceforge.net/projects/opencvlibrary/files/opencv-win/
下载之后解压,将解压目录opencv文件夹中,build->python->2.7->x86下的文件cv2.pyd 复制到python2.7\Lib\site-packages 中
3_测试
执行解压目录下的sources\samples\python\drawing.py
时间: 2024-10-07 08:12:04