model与部分图片移至static下
This commit is contained in:
parent
78e6cca458
commit
40dd9c1f32
108 changed files with 106 additions and 365 deletions
|
@ -4,7 +4,7 @@ from mower.solvers.infra.base_mixin import BaseMixin
|
|||
from mower.solvers.infra.enter_room import EnterRoomSolver
|
||||
from mower.utils import config
|
||||
from mower.utils import typealias as tp
|
||||
from mower.utils.digit_reader import DigitReader
|
||||
from mower.utils.digit_reader import get_drone
|
||||
from mower.utils.graph import SceneGraphSolver
|
||||
from mower.utils.log import logger
|
||||
from mower.utils.recognize import Scene
|
||||
|
@ -31,7 +31,7 @@ class DroneSolver(SceneGraphSolver, BaseMixin):
|
|||
self.room = room
|
||||
while cur_count is None and not all_in:
|
||||
try:
|
||||
cur_count = DigitReader().get_drone(config.recog.gray)
|
||||
cur_count = get_drone(config.recog.gray)
|
||||
except Exception:
|
||||
logger.exception("当前场景无法获取无人机数量")
|
||||
EnterRoomSolver().run(self.room, detail=False)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue