mirror of
https://github.com/TheFunny/ArisuAutoSweeper
synced 2026-10-10 13:32:26 +00:00
perf: use match luma template in match_template_color()
This commit is contained in:
@@ -181,7 +181,7 @@ class Button(Resource):
|
||||
Returns:
|
||||
bool.
|
||||
"""
|
||||
matched = self.match_template(image, similarity=similarity, direct_match=direct_match)
|
||||
matched = self.match_template_luma(image, similarity=similarity, direct_match=direct_match)
|
||||
if not matched:
|
||||
return False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user