cv2.error: OpenCV(4.5.3) :-1: error: (-5:Bad argument) in function ‘circle‘报错
这里我对图像做与运算importcv2importnumpyasnpimg=cv2.imread('a.jpg',cv2.IMREAD_GRAYSCALE)row,col=img.shape[:2]print(row,col)circle=np.zeros((row,col),dtype='uint8')cv2.circle(circle,(row/2,col/2),100,255,-1)resu