mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 00:28:20 +08:00
Add: Operation siren clear full map
- Skip clicking if already goto destination - Skip path finding if no fleet 2 - Right align Y axis when showing map - Fix perspective draw - Add MAP_FOCUS_ENEMY_AFTER_BATTLE for OS - ensure_edge_insight now focus to random corner, rather than bottom-right - Add OSGrids - Add view mode to detect maps in OS - Fix OCR debug run before model init - Add handle_map_event() to include all os handlers - Add OS map info extractor
This commit is contained in:
@@ -240,7 +240,8 @@ class Perspective:
|
||||
image = self.image.copy()
|
||||
else:
|
||||
image = bg.copy()
|
||||
image = Image.fromarray(image)
|
||||
if isinstance(image, np.ndarray):
|
||||
image = Image.fromarray(image)
|
||||
if expend:
|
||||
image = ImageOps.expand(image, border=expend, fill=0)
|
||||
draw = ImageDraw.Draw(image)
|
||||
|
||||
Reference in New Issue
Block a user