1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 09:48:20 +08:00

Fix: Gray scale GIF has has multiple channels started at the 2nd frame

This commit is contained in:
LmeSzinc
2022-02-07 18:10:21 +08:00
parent 0d9c256916
commit 6a9cd43dde
2 changed files with 10 additions and 2 deletions

View File

@@ -175,7 +175,7 @@ class Button(Resource):
self._button_offset = area_offset(self._button, offset[:2] + np.array(point))
return similarity > threshold
def match_appear_on(self, image, threshold=10):
def match_appear_on(self, image, threshold=30):
"""
Args:
image: Screenshot.