opencv python3.6安装和测试
安装:
命令行 pip install D:\python3.6.1\Scriptsopencv_python-3.2.0-cp36-cp36m-win_amd64.whl
测试代码:
import cv2 img = cv2.imread('text.jpg',0) cv2.imshow('image',img) cv2.waitKey(0) cv2.destroyAllWindows()
结果:
yes,I can
安装:
命令行 pip install D:\python3.6.1\Scriptsopencv_python-3.2.0-cp36-cp36m-win_amd64.whl
测试代码:
import cv2 img = cv2.imread('text.jpg',0) cv2.imshow('image',img) cv2.waitKey(0) cv2.destroyAllWindows()
结果: