我是python新手,需要一些帮助。
result=cv2.matchtemplate(haystack\u img,self.needle\u img,self.method)
cv2.error:opencv(4.5.1)c:\users\appveyor\appdata\local\temp\1\pip-req-build-kh7iq4w7\opencv\modules\imgproc\src\templammatch。cpp:1163:错误:(-215:Assert失败)(depth==cv|8u | depth==cv|32f)&&type==cv templ.type()&&&img.dims()<=2在函数“cv::matchtemplate”中
暂无答案!
目前还没有任何答案,快来回答吧!