mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-16 06:57:21 +08:00
Refactor: Use numpy image cache instead of pillow image
This commit is contained in:
@@ -184,7 +184,7 @@ class CampaignOcr(ModuleBase):
|
||||
self.stage_entrance: dict. Key, str, stage name. Value, Button, button to enter stage.
|
||||
|
||||
Args:
|
||||
image (PIL.Image.Image):
|
||||
image (np.ndarray):
|
||||
"""
|
||||
self.stage_entrance = {}
|
||||
buttons = self.campaign_extract_name_image(image)
|
||||
|
||||
Reference in New Issue
Block a user