在安装过anaconda和opencv-python后我尝试了一下
import numpy as np
import cv2
#Create a black image
img = np.zeros((512,512,3),np.uint8)
#draw a diagonal blue line with thickness of 5 px
cv2.line(img,(0,0),(
在安装过anaconda和opencv-python后我尝试了一下
import numpy as np
import cv2
#Create a black image
img = np.zeros((512,512,3),np.uint8)
#draw a diagonal blue line with thickness of 5 px
cv2.line(img,(0,0),(