error: (-5:Bad argument) in function ‘seamlessClone‘ 和error: (-215:Assertion failed) 0 <= roi.x && 0
本文报错代码#注意修改路径!importcv2importnumpyasnp#Readimages:srcimagewillbeclonedintodstobj=cv2.imread("src.jpg")im=cv2.imread("dst.jpg")#Createanallwhitemaskmask=255*np.ones(obj.shape,im.dtype)#Thelocationofthe