-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
有这样的报错
Error in main loop iteration processing instance 0
<2026-01-19 22:51:04,533>src.MCtrl:
Traceback (most recent call last):
File "C:\wowsbot\src\MCtrl.py", line 338, in _main_loop_iteration
match = inst.alctr.match_template(screen)
File "C:\wowsbot\src\ArLctr.py", line 189, in match_template
result = cv2.matchTemplate(roi, img_tmpl, cv2.TM_CCOEFF_NORMED)
cv2.error: OpenCV(4.13.0) D:\a\opencv-python\opencv-python\opencv\modules\imgproc\src\templmatch.cpp:1179: error: (-215:Assertion failed) _img.size().height <= _templ.size().height && _img.size().width <= _templ.size().width in function 'cv::matchTemplate'
分辨率没办法调整到config.json的1440900,于是把config改成1200720,是否还需要修改模板图片和config中的其它数字
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels