1
0
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:
LmeSzinc
2022-01-23 15:50:15 +08:00
parent 6df7684a37
commit 65f166ad12
51 changed files with 286 additions and 228 deletions

View File

@@ -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)