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:
@@ -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'
|
||||||
|
|||||||
Reference in New Issue
Block a user