img = np.zeros((512, 512, 3), np.uint8)进行cv2.line报错TypeError: Expected Ptrcv::UMat for argument '%s
import cv2
import numpy as np
import matplotlib.pyplot as plt
img = np.zeros((512, 512, 3), np.uint8)里插入代码片
报错:
img = np.zeros((512, 512, 3), np.uint8)进行cv2.line报错TypeError: Expected Ptrcv::UMat for argument '%s
import cv2
import numpy as np
import matplotlib.pyplot as plt
img = np.zeros((512, 512, 3), np.uint8)里插入代码片
报错: