求助解决问题:
这是一则求助贴
报错如下
F:\lab\venv\Scripts\python.exe F:/lab/match_2.py
Traceback (most recent call last):
File “F:/lab/match_2.py”, line 7, in
res = cv2.matchTemplate(img_gray,template,cv2.TM_CCOEFF_NORMED)
cv2.error: OpenCV(4.1.0) C:\projects\opencv-python\opencv\modules\imgproc\src\templmatch.cpp:1112: error: (-215:Assertion failed) _img.size().height <= _templ.size().height && _img.size().width <= _templ.size().width in function ‘cv::matchTemplate’

Process finished with exit code 1

我试过路径问题,没有中文,请问大神这是什么问题?谢谢了

相关文章:

  • 2022-12-23
  • 2021-07-27
  • 2021-12-16
  • 2021-05-08
  • 2022-12-23
  • 2021-11-06
  • 2022-02-21
  • 2021-04-08
猜你喜欢
  • 2022-01-08
  • 2021-06-24
  • 2021-10-28
  • 2021-09-30
  • 2022-12-23
  • 2021-04-03
  • 2021-12-10
相关资源
相似解决方案