1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 00:28:20 +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

@@ -1,5 +1,6 @@
import itertools
import numpy as np
from module.base.timer import Timer
from module.exception import MapWalkError
@@ -120,7 +121,7 @@ class Fleet(Camera, MapOperation, AmbushHandler):
while 1:
self.device.screenshot()
grid.image = self.device.image
grid.image = np.array(self.device.image)
# Ambush
if self.handle_ambush():