mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 07:28:21 +08:00
Opt: Remove redundant converts from pillow to numpy
This commit is contained in:
@@ -193,7 +193,7 @@ class Button(Resource):
|
||||
|
||||
Args:
|
||||
area (tuple):
|
||||
image: Pillow image. If provided, load color and image from it.
|
||||
image (np.ndarray): Screenshot. If provided, load color and image from it.
|
||||
name (str):
|
||||
|
||||
Returns:
|
||||
@@ -214,7 +214,7 @@ class Button(Resource):
|
||||
|
||||
Args:
|
||||
vector (tuple):
|
||||
image: Pillow image. If provided, load color and image from it.
|
||||
image (np.ndarray): Screenshot. If provided, load color and image from it.
|
||||
name (str):
|
||||
|
||||
Returns:
|
||||
|
||||
Reference in New Issue
Block a user