1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-05-01 06:00:14 +08:00
This commit is contained in:
sui-feng-cb
2024-12-29 12:15:01 +08:00
32 changed files with 604 additions and 136 deletions

View File

@@ -334,7 +334,7 @@ class Button(Resource):
Returns:
bool.
"""
if self.match(image, offset=offset, similarity=similarity):
if self.match_luma(image, offset=offset, similarity=similarity):
diff = np.subtract(self.button, self._button)[:2]
area = area_offset(self.area, offset=diff)
color = get_color(image, area)