mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-15 15:47:42 +08:00
Opt: Remove redundant converts from pillow to numpy
This commit is contained in:
@@ -108,7 +108,7 @@ class View(MapDetector):
|
||||
Update image to all grids.
|
||||
If camera position didn't change, no need to calculate again, updating image is enough.
|
||||
"""
|
||||
image = self._image_clear_ui(np.array(image))
|
||||
image = self._image_clear_ui(image)
|
||||
self.image = image
|
||||
for grid in self:
|
||||
grid.reset()
|
||||
|
||||
Reference in New Issue
Block a user