安裝:
命令列 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()
結果:
安裝:
命令列 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()
結果: