1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 07:28:21 +08:00

Add: Using new detection backend

This commit is contained in:
LmeSzinc
2020-07-23 07:34:03 +08:00
parent 75e64353bc
commit 2abab2f3f6
7 changed files with 644 additions and 84 deletions

View File

@@ -177,7 +177,7 @@ class CampaignMap:
camera (tuple):
is_carrier_scan (bool):
"""
offset = np.array(camera) - np.array(grids.center_grid)
offset = np.array(camera) - np.array(grids.center_loca)
grids.show()
for grid in grids.grids.values():
loca = tuple(offset + grid.location)