feat: 修改ACCURACY
This commit is contained in:
parent
b300c1779b
commit
d5f8e43751
|
|
@ -174,7 +174,7 @@ async def try_template_matching() -> bool:
|
||||||
]
|
]
|
||||||
|
|
||||||
# pyautogui 定位的准确度阈值(0.0-1.0,越高越严格)
|
# pyautogui 定位的准确度阈值(0.0-1.0,越高越严格)
|
||||||
ACCURACY = 0.6
|
ACCURACY = 0.4
|
||||||
|
|
||||||
for template_path in template_paths:
|
for template_path in template_paths:
|
||||||
if not os.path.exists(template_path):
|
if not os.path.exists(template_path):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue