mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-22 08:37:42 +00:00
Update support.py (#200)
对改问题的修复https://github.com/LmeSzinc/StarRailCopilot/issues/195
This commit is contained in:
parent
ab1b817cbe
commit
cbc5d4d786
@ -27,7 +27,7 @@ class SupportCharacter:
|
||||
_image_cache = {}
|
||||
_crop_area = COMBAT_SUPPORT_LIST_GRID.matched_button.area
|
||||
|
||||
def __init__(self, name, screenshot, similarity=0.85):
|
||||
def __init__(self, name, screenshot, similarity=0.75):
|
||||
self.name = name
|
||||
self.image = self._scale_character()
|
||||
self.screenshot = crop(screenshot, SupportCharacter._crop_area)
|
||||
|
Loading…
Reference in New Issue
Block a user