1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-29 17:27:13 +08:00

Fix: Lower threshold in StatusScanner

This commit is contained in:
LmeSzinc
2023-03-19 22:38:42 +08:00
parent ad8d20b78a
commit 806e15934f

View File

@@ -241,7 +241,7 @@ class StatusScanner(Scanner):
def _match(self, image) -> str: def _match(self, image) -> str:
for template, status in self.templates.items(): for template, status in self.templates.items():
if template.match(image): if template.match(image, similarity=0.75):
return status return status
return 'free' return 'free'