pycharm中成功运行图片的配置教程
如下:
经历了半个月 艰辛配置工作终于运行出图片了
结果
import cv2 import numpy as np img = cv2.imread("66.jpg") emptyImage = np.zeros(img.shape, np.uint8) emptyImage2 = img.copy() emptyImage3 = cv2.cvtColor(img, cv2.COLOR_BGR2GRAY) cv2.imshow("EmptyImage3", emptyImage3) cv2.waitKey(0) cv2.destroyAllWindows()
配置环境:python2.7-opencv2.4-anaconda2-5.1.0 64位
相关推荐
NANGEBOKE 2020-11-23
skyplay0 2020-11-17
BigYellow 2020-11-16
shuhaojie 2020-08-16
jameslaughing 2020-07-04
wuguangbin0 2020-11-17
shuhaojie 2020-11-17
NANGEBOKE 2020-08-15
mmwalker 2020-08-11
wuguangbin0 2020-07-18
vshacker 2020-07-05
jameslaughing 2020-07-04
maoyongfan 2020-06-28
hanxia 2020-06-27
无缘公子 2020-06-18
NANGEBOKE 2020-06-15