mirror of
https://github.com/LmeSzinc/AzurLaneAutoScript.git
synced 2025-04-05 00:53:28 +08:00
Merge branch 'master' into app
This commit is contained in:
commit
a77f4095c3
@ -90,6 +90,8 @@ class CampaignOcr(ModuleBase):
|
||||
button_name = button.crop(area=name_area, image=image)
|
||||
name = extract_letters(button_name.image, letter=name_letter, threshold=name_thresh)
|
||||
button_name = button_name.crop(area=self._extract_stage_name(name))
|
||||
if not len(button.color):
|
||||
button.load_color(image)
|
||||
button.area = button_name.area
|
||||
digits.append(button)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user