mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-31 13:30:35 +08:00
Opt: Remove redundant converts from pillow to numpy
This commit is contained in:
@@ -15,7 +15,7 @@ class BattleStatusStatistics:
|
||||
def stats_battle_status(self, image):
|
||||
"""
|
||||
Args:
|
||||
image: Pillow image.
|
||||
image (np.ndarray):
|
||||
|
||||
Returns:
|
||||
str: Enemy name, such as '中型主力舰队'.
|
||||
|
||||
Reference in New Issue
Block a user