mirror of
https://github.com/TheFunny/ArisuAutoSweeper
synced 2026-10-17 10:12:11 +00:00
perf: use match luma template in match_template_color()
This commit is contained in:
@@ -181,7 +181,7 @@ class Button(Resource):
|
|||||||
Returns:
|
Returns:
|
||||||
bool.
|
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:
|
if not matched:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user