1.python 2.7.10
2.numpy 1.8.1
3.opencv2.4.8
4.OpenCV目录 ...\opencv\build\python\2.7" 下 "cv2.pyd" 复制 到Python目录 "...\Python27\Lib\site-packages"下
5.测试
import cv2 image = cv2.imread("test.jpg") cv2.imshow("test",image) cv2.waitKey(0)
1.python 2.7.10
2.numpy 1.8.1
3.opencv2.4.8
4.OpenCV目录 ...\opencv\build\python\2.7" 下 "cv2.pyd" 复制 到Python目录 "...\Python27\Lib\site-packages"下
5.测试
import cv2 image = cv2.imread("test.jpg") cv2.imshow("test",image) cv2.waitKey(0)