error:(-215:Assertion failed) cn==CV_MAT_CN(dstType) ddepth >= sdepth in function getLinearFlter
我們應該轉換為np.uint8,
添加image=np.array(image,dtype='uint8')
error:(-215:Assertion failed) cn==CV_MAT_CN(dstType) ddepth >= sdepth in function getLinearFlter
我們應該轉換為np.uint8,
添加image=np.array(image,dtype='uint8')