mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 17:29:04 +08:00
Fix: Lower threshold in StatusScanner
This commit is contained in:
parent
ad8d20b78a
commit
806e15934f
@ -241,7 +241,7 @@ class StatusScanner(Scanner):
|
||||
|
||||
def _match(self, image) -> str:
|
||||
for template, status in self.templates.items():
|
||||
if template.match(image):
|
||||
if template.match(image, similarity=0.75):
|
||||
return status
|
||||
|
||||
return 'free'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user