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

Add: 增加敌人类型识别

This commit is contained in:
LmeSzinc
2020-05-23 01:35:56 +08:00
parent 4503793e47
commit a2ad24048e
14 changed files with 64 additions and 22 deletions

View File

@@ -6,7 +6,7 @@ from module.map.grid_predictor import GridPredictor
class Grid(GridPredictor, GridInfo):
def __init__(self, location, image, corner):
def __init__(self, location, image, corner, config):
"""
Args:
@@ -18,7 +18,7 @@ class Grid(GridPredictor, GridInfo):
(x2, y2) +-------------+ (x3, y3)
"""
self.location = location
super().__init__(location, image, corner)
super().__init__(location, image, corner, config)
self.corner = corner.flatten()
@property