AzurLaneAutoScript
AzurLaneAutoScript copied to clipboard
大世界地图识别失败
在提问之前...
- [X] 我已经搜索了现有的 issues
- [X] 我在提问题之前至少花费了 5 分钟来思考和准备
- [X] 我已经阅读了 Wiki 中的 常见问题(FAQ)
- [X] 我正在使用最新版的 Alas
描述你的问题
大世界地图识别失败报错,dev分支最新提交
如何复现
- 前往 '...'
- 点击 '....'
- 滑动到 '....'
- 出现问题
预期行为
可以正确识别当前地图
相关 Logs
完整日志见下方附件
2023-12-19 10:47:29.379 | ERROR | MapDetectionError: Failed to find a free tile
╭───────────────────────────────────────── Traceback (most recent call last) ─────────────────────────────────────────╮
│ │
│ /home/finch/workspace/python/AzurLaneAutoScript/alas.py:68 in run │
│ │
│ 65 │ def run(self, command): │
│ 66 │ │ try: │
│ 67 │ │ │ self.device.screenshot() │
│ ❱ 68 │ │ │ self.__getattribute__(command)() │
│ 69 │ │ │ return True │
│ 70 │ │ except TaskEnd: │
│ 71 │ │ │ return True │
│ │
│ ╭─────────────────────────── locals ───────────────────────────╮ │
│ │ command = 'opsi_meowfficer_farming' │ │
│ │ e = MapDetectionError('Failed to find a free tile') │ │
│ │ self = <alas.AzurLaneAutoScript object at 0x7f2de8dd5c50> │ │
│ ╰──────────────────────────────────────────────────────────────╯ │
│ /home/finch/workspace/python/AzurLaneAutoScript/alas.py:330 in opsi_meowfficer_farming │
│ │
│ 327 │ │
│ 328 │ def opsi_meowfficer_farming(self): │
│ 329 │ │ from module.campaign.os_run import OSCampaignRun │
│ ❱ 330 │ │ OSCampaignRun(config=self.config, device=self.device).opsi_meowfficer_farming() │
│ 331 │ │
│ 332 │ def opsi_hazard1_leveling(self): │
│ 333 │ │ from module.campaign.os_run import OSCampaignRun │
│ │
│ ╭────────────────────────────── locals ──────────────────────────────╮ │
│ │ OSCampaignRun = <class 'module.campaign.os_run.OSCampaignRun'> │ │
│ │ self = <alas.AzurLaneAutoScript object at 0x7f2de8dd5c50> │ │
│ ╰────────────────────────────────────────────────────────────────────╯ │
│ │
│ /home/finch/workspace/python/AzurLaneAutoScript/module/campaign/os_run.py:60 in opsi_meowfficer_farming │
│ │
│ 57 │ def opsi_meowfficer_farming(self): │
│ 58 │ │ try: │
│ 59 │ │ │ self.load_campaign() │
│ ❱ 60 │ │ │ self.campaign.os_meowfficer_farming() │
│ 61 │ │ except ActionPointLimit: │
│ 62 │ │ │ if get_os_reset_remain() > 0: │
│ 63 │ │ │ │ self.config.task_delay(server_update=True) │
│ │
│ ╭──────────────────────────────── locals ────────────────────────────────╮ │
│ │ self = <module.campaign.os_run.OSCampaignRun object at 0x7f2db73bfdd0> │ │
│ ╰────────────────────────────────────────────────────────────────────────╯ │
│ │
│ /home/finch/workspace/python/AzurLaneAutoScript/module/os/operation_siren.py:385 in os_meowfficer_farming │
│ │
│ 382 │ │ │ │ self.os_order_execute( │
│ 383 │ │ │ │ │ recon_scan=False, │
│ 384 │ │ │ │ │ submarine_call=self.config.OpsiFleet_Submarine) │
│ ❱ 385 │ │ │ │ self.run_auto_search() │
│ 386 │ │ │ │ self.handle_after_auto_search() │
│ 387 │ │ │ │ self.config.check_task_switch() │
│ 388 │
│ │
│ ╭─────────────────────────────────────── locals ────────────────────────────────────────╮ │
│ │ ap_checked = True │ │
│ │ cd = None │ │
│ │ check_rest_ap = True │ │
│ │ keep_current_ap = True │ │
│ │ preserve = 1000 │ │
│ │ remain = 12 │ │
│ │ self = <module.os.operation_siren.OperationSiren object at 0x7f2c66fa1690> │ │
│ │ zones = <module.map.map_grids.SelectedGrids object at 0x7f2db76b0d50> │ │
│ ╰───────────────────────────────────────────────────────────────────────────────────────╯ │
│ │
│ /home/finch/workspace/python/AzurLaneAutoScript/module/os/map.py:708 in run_auto_search │
│ │
│ 705 │ │ │ if question: │
│ 706 │ │ │ │ self.clear_question(drop=drop) │
│ 707 │ │ │ if rescan: │
│ ❱ 708 │ │ │ │ self.map_rescan(rescan_mode=rescan, drop=drop) │
│ 709 │ │ │ │
│ 710 │ │ │ if drop.count == 1: │
│ 711 │ │ │ │ drop.clear() │
│ │
│ ╭──────────────────────────────────────── locals ─────────────────────────────────────────╮ │
│ │ after_auto_search = True │ │
│ │ drop = <module.statistics.azurstats.DropImage object at 0x7f2db6e60d90> │ │
│ │ question = True │ │
│ │ rescan = 'full' │ │
│ │ self = <module.os.operation_siren.OperationSiren object at 0x7f2c66fa1690> │ │
│ ╰─────────────────────────────────────────────────────────────────────────────────────────╯ │
│ │
│ /home/finch/workspace/python/AzurLaneAutoScript/module/os/map.py:880 in map_rescan │
│ │
│ 877 │ │ │ │ logger.attr('Solved_map_event', self._solved_map_event) │
│ 878 │ │ │ │ self.fleet_set(self.config.OpsiFleet_Fleet) │
│ 879 │ │ │ │ return False │
│ ❱ 880 │ │ │ result = self.map_rescan_once(rescan_mode=rescan_mode, drop=drop) │
│ 881 │ │ │ if not result: │
│ 882 │ │ │ │ logger.attr('Solved_map_event', self._solved_map_event) │
│ 883 │ │ │ │ self.fleet_set(self.config.OpsiFleet_Fleet) │
│ │
│ ╭───────────────────────────────────── locals ──────────────────────────────────────╮ │
│ │ _ = 0 │ │
│ │ drop = <module.statistics.azurstats.DropImage object at 0x7f2db6e60d90> │ │
│ │ rescan_mode = 'full' │ │
│ │ self = <module.os.operation_siren.OperationSiren object at 0x7f2c66fa1690> │ │
│ ╰───────────────────────────────────────────────────────────────────────────────────╯ │
│ │
│ /home/finch/workspace/python/AzurLaneAutoScript/module/os/map.py:854 in map_rescan_once │
│ │
│ 851 │ │ │ while len(queue) > 0: │
│ 852 │ │ │ │ logger.hr(f'Map rescan {queue[0]}') │
│ 853 │ │ │ │ queue = queue.sort_by_camera_distance(self.camera) │
│ ❱ 854 │ │ │ │ self.focus_to(queue[0], swipe_limit=(6, 5)) │
│ 855 │ │ │ │ self.focus_to_grid_center(0.25) │
│ 856 │ │ │ │ │
│ 857 │ │ │ │ if self.map_rescan_current(drop=drop): │
│ │
│ ╭───────────────────────────────────── locals ──────────────────────────────────────╮ │
│ │ drop = <module.statistics.azurstats.DropImage object at 0x7f2db6e60d90> │ │
│ │ queue = <module.map.map_grids.SelectedGrids object at 0x7f2db77a2d10> │ │
│ │ rescan_mode = 'full' │ │
│ │ result = False │ │
│ │ self = <module.os.operation_siren.OperationSiren object at 0x7f2c66fa1690> │ │
│ ╰───────────────────────────────────────────────────────────────────────────────────╯ │
│ │
│ /home/finch/workspace/python/AzurLaneAutoScript/module/map/camera.py:342 in focus_to │
│ │
│ 339 │ │ while 1: │
│ 340 │ │ │ vector = np.array(location) - self.camera │
│ 341 │ │ │ swipe = tuple(np.min([np.abs(vector), swipe_limit], axis=0) * │
│ np.sign(vector)) │
│ ❱ 342 │ │ │ has_swiped = self.map_swipe(swipe) │
│ 343 │ │ │ │
│ 344 │ │ │ if not has_swiped: │
│ 345 │ │ │ │ break │
│ │
│ ╭───────────────────────────────────── locals ──────────────────────────────────────╮ │
│ │ has_swiped = True │ │
│ │ location = (4, 4) │ │
│ │ self = <module.os.operation_siren.OperationSiren object at 0x7f2c66fa1690> │ │
│ │ swipe = (-2, 0) │ │
│ │ swipe_limit = (6, 5) │ │
│ │ vector = array([-2, 0]) │ │
│ ╰───────────────────────────────────────────────────────────────────────────────────╯ │
│ │
│ /home/finch/workspace/python/AzurLaneAutoScript/module/map/camera.py:84 in map_swipe │
│ │
│ 81 │ │ self._prev_swipe = vector │
│ 82 │ │ vector = np.array(vector) │
│ 83 │ │ vector = np.array([0.5, 0.5]) - self.view.center_offset + vector │
│ ❱ 84 │ │ return self._map_swipe(vector) │
│ 85 │ │
│ 86 │ def focus_to_grid_center(self, tolerance=None): │
│ 87 │ │ """ │
│ │
│ ╭─────────────────────────────────── locals ───────────────────────────────────╮ │
│ │ self = <module.os.operation_siren.OperationSiren object at 0x7f2c66fa1690> │ │
│ │ vector = array([-1.91961409, -0.02069156]) │ │
│ ╰──────────────────────────────────────────────────────────────────────────────╯ │
│ │
│ /home/finch/workspace/python/AzurLaneAutoScript/module/os/camera.py:20 in _map_swipe │
│ │
│ 17 │ fleet_current: tuple │
│ 18 │ │
│ 19 │ def _map_swipe(self, vector, box=(239, 128, 993, 628)): │
│ ❱ 20 │ │ return super()._map_swipe(vector, box=box) │
│ 21 │ │
│ 22 │ def _view_init(self): │
│ 23 │ │ if not hasattr(self, 'view'): │
│ │
│ ╭──────────────────────────────────── locals ─────────────────────────────────────╮ │
│ │ __class__ = <class 'module.os.camera.OSCamera'> │ │
│ │ box = (239, 128, 993, 628) │ │
│ │ self = <module.os.operation_siren.OperationSiren object at 0x7f2c66fa1690> │ │
│ │ vector = array([-1.91961409, -0.02069156]) │ │
│ ╰─────────────────────────────────────────────────────────────────────────────────╯ │
│ │
│ /home/finch/workspace/python/AzurLaneAutoScript/module/map/camera.py:61 in _map_swipe │
│ │
│ 58 │ │ │ vector = -vector │
│ 59 │ │ │ self.device.swipe_vector(vector, name=name, box=box, │
│ whitelist_area=whitelist, blacklist_area=blacklist) │
│ 60 │ │ │ self.device.sleep(0.3) │
│ ❱ 61 │ │ │ self.update() │
│ 62 │ │ │ return True │
│ 63 │ │ else: │
│ 64 │ │ │ # Drop swipe │
│ │
│ ╭──────────────────────────────────── locals ─────────────────────────────────────╮ │
│ │ blacklist = [] │ │
│ │ box = (239, 128, 993, 628) │ │
│ │ distance = array([114.59649397, 81.24694923]) │ │
│ │ name = 'MAP_SWIPE_-2_0' │ │
│ │ self = <module.os.operation_siren.OperationSiren object at 0x7f2c66fa1690> │ │
│ │ vector = array([219.98104445, 1.68112649]) │ │
│ │ whitelist = [] │ │
│ ╰─────────────────────────────────────────────────────────────────────────────────╯ │
│ │
│ /home/finch/workspace/python/AzurLaneAutoScript/module/map/camera.py:261 in update │
│ │
│ 258 │ │ confirm_timer = Timer(5, count=10).start() │
│ 259 │ │ while 1: │
│ 260 │ │ │ try: │
│ ❱ 261 │ │ │ │ success = self._update(camera=camera) │
│ 262 │ │ │ │ if success: │
│ 263 │ │ │ │ │ break │
│ 264 │ │ │ │ else: │
│ │
│ ╭────────────────────────────────────── locals ───────────────────────────────────────╮ │
│ │ allow_error = False │ │
│ │ camera = True │ │
│ │ confirm_timer = Timer(limit=5.818/5, count=12/10) │ │
│ │ self = <module.os.operation_siren.OperationSiren object at 0x7f2c66fa1690> │ │
│ ╰─────────────────────────────────────────────────────────────────────────────────────╯ │
│ │
│ /home/finch/workspace/python/AzurLaneAutoScript/module/map/camera.py:210 in _update │
│ │
│ 207 │ │ │ │ logger.error('Trying to update camera but game died') │
│ 208 │ │ │ │ raise GameNotRunningError │
│ 209 │ │ │ else: │
│ ❱ 210 │ │ │ │ raise e │
│ 211 │ │ │
│ 212 │ │ if self._prev_view is not None and np.linalg.norm(self._prev_swipe) > 0: │
│ 213 │ │ │ if self.config.MAP_SWIPE_PREDICT: │
│ │
│ ╭─────────────────────────────────── locals ───────────────────────────────────╮ │
│ │ camera = True │ │
│ │ self = <module.os.operation_siren.OperationSiren object at 0x7f2c66fa1690> │ │
│ ╰──────────────────────────────────────────────────────────────────────────────╯ │
│ │
│ /home/finch/workspace/python/AzurLaneAutoScript/module/map/camera.py:125 in _update │
│ │
│ 122 │ │ │ │ │ and not self.is_in_strategy_submarine_move(): │
│ 123 │ │ │ │ logger.warning('Image to detect is not in_map') │
│ 124 │ │ │ │ raise MapDetectionError('Image to detect is not in_map') │
│ ❱ 125 │ │ │ self.view.load(self.device.image) │
│ 126 │ │ except MapDetectionError as e: │
│ 127 │ │ │ if self.info_bar_count(): │
│ 128 │ │ │ │ logger.warning('Perspective error caused by info bar') │
│ │
│ ╭─────────────────────────────────── locals ───────────────────────────────────╮ │
│ │ camera = True │ │
│ │ self = <module.os.operation_siren.OperationSiren object at 0x7f2c66fa1690> │ │
│ ╰──────────────────────────────────────────────────────────────────────────────╯ │
│ │
│ /home/finch/workspace/python/AzurLaneAutoScript/module/map_detection/view.py:59 in load │
│ │
│ 56 │ │ """ │
│ 57 │ │ image = self._image_clear_ui(np.array(image)) │
│ 58 │ │ self.image = image │
│ ❱ 59 │ │ super().load(image) │
│ 60 │ │ │
│ 61 │ │ # Create local view map │
│ 62 │ │ grids = {} │
│ │
│ ╭─────────────────────────────── locals ────────────────────────────────╮ │
│ │ __class__ = <class 'module.map_detection.view.View'> │ │
│ │ image = array([[[0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ ..., │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0]], │ │
│ │ │ │ │
│ │ │ [[0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ ..., │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0]], │ │
│ │ │ │ │
│ │ │ [[0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ ..., │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0]], │ │
│ │ │ │ │
│ │ │ ..., │ │
│ │ │ │ │
│ │ │ [[0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ ..., │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0]], │ │
│ │ │ │ │
│ │ │ [[0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ ..., │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0]], │ │
│ │ │ │ │
│ │ │ [[0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ ..., │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0]]], dtype=uint8) │ │
│ │ self = <module.map_detection.view.View object at 0x7f2db6f27b50> │ │
│ ╰───────────────────────────────────────────────────────────────────────╯ │
│ │
│ /home/finch/workspace/python/AzurLaneAutoScript/module/map_detection/detector.py:49 in load │
│ │
│ 46 │ │ Args: │
│ 47 │ │ │ image: Shape (720, 1280, 3) │
│ 48 │ │ """ │
│ ❱ 49 │ │ self.backend.load(image) │
│ 50 │ │ │
│ 51 │ │ self.left_edge = bool(self.backend.left_edge) │
│ 52 │ │ self.right_edge = bool(self.backend.right_edge) │
│ │
│ ╭───────────────────────────── locals ──────────────────────────────╮ │
│ │ image = array([[[0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ ..., │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0]], │ │
│ │ │ │ │
│ │ │ [[0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ ..., │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0]], │ │
│ │ │ │ │
│ │ │ [[0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ ..., │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0]], │ │
│ │ │ │ │
│ │ │ ..., │ │
│ │ │ │ │
│ │ │ [[0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ ..., │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0]], │ │
│ │ │ │ │
│ │ │ [[0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ ..., │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0]], │ │
│ │ │ │ │
│ │ │ [[0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ ..., │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0]]], dtype=uint8) │ │
│ │ self = <module.map_detection.view.View object at 0x7f2db6f27b50> │ │
│ ╰───────────────────────────────────────────────────────────────────╯ │
│ │
│ /home/finch/workspace/python/AzurLaneAutoScript/module/map_detection/homography.py:92 in load │
│ │
│ 89 │ │ if not self.homo_loaded: │
│ 90 │ │ │ self.load_homography(storage=self.config.HOMO_STORAGE, image=image) │
│ 91 │ │ │
│ ❱ 92 │ │ self.detect(image) │
│ 93 │ │
│ 94 │ def load_homography(self, storage=None, perspective=None, image=None, file=None): │
│ 95 │ │ """ │
│ │
│ ╭─────────────────────────────────── locals ────────────────────────────────────╮ │
│ │ image = array([[[0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ ..., │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0]], │ │
│ │ │ │ │
│ │ │ [[0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ ..., │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0]], │ │
│ │ │ │ │
│ │ │ [[0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ ..., │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0]], │ │
│ │ │ │ │
│ │ │ ..., │ │
│ │ │ │ │
│ │ │ [[0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ ..., │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0]], │ │
│ │ │ │ │
│ │ │ [[0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ ..., │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0]], │ │
│ │ │ │ │
│ │ │ [[0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ ..., │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0], │ │
│ │ │ │ [0, 0, 0]]], dtype=uint8) │ │
│ │ self = <module.map_detection.homography.Homography object at 0x7f2db6bf7910> │ │
│ ╰───────────────────────────────────────────────────────────────────────────────╯ │
│ │
│ /home/finch/workspace/python/AzurLaneAutoScript/module/map_detection/homography.py:189 in detect │
│ │
│ 186 │ │ elif self.search_tile_rectangle(image_edge, │
│ threshold=self.config.HOMO_RECTANGLE_THRESHOLD): │
│ 187 │ │ │ pass │
│ 188 │ │ else: │
│ ❱ 189 │ │ │ raise MapDetectionError('Failed to find a free tile') │
│ 190 │ │ │
│ 191 │ │ self.homo_loca %= self.config.HOMO_TILE │
│ 192 │
│ │
│ ╭────────────────────────────────────── locals ───────────────────────────────────────╮ │
│ │ image = array([[8, 0, 8, ..., 2, 0, 2], │ │
│ │ │ [4, 4, 8, ..., 0, 2, 0], │ │
│ │ │ [8, 4, 8, ..., 2, 0, 2], │ │
│ │ │ ..., │ │
│ │ │ [0, 0, 0, ..., 0, 0, 0], │ │
│ │ │ [0, 0, 0, ..., 0, 0, 0], │ │
│ │ │ [0, 0, 0, ..., 0, 0, 0]], dtype=uint8) │ │
│ │ image_edge = array([[0, 0, 0, ..., 0, 0, 0], │ │
│ │ │ [0, 0, 0, ..., 0, 0, 0], │ │
│ │ │ [0, 0, 0, ..., 0, 0, 0], │ │
│ │ │ ..., │ │
│ │ │ [0, 0, 0, ..., 0, 0, 0], │ │
│ │ │ [0, 0, 0, ..., 0, 0, 0], │ │
│ │ │ [0, 0, 0, ..., 0, 0, 0]], dtype=uint8) │ │
│ │ image_trans = array([[8, 3, 2, ..., 1, 2, 1], │ │
│ │ │ [6, 4, 3, ..., 1, 1, 0], │ │
│ │ │ [4, 4, 3, ..., 1, 0, 0], │ │
│ │ │ ..., │ │
│ │ │ [0, 0, 0, ..., 0, 0, 0], │ │
│ │ │ [0, 0, 0, ..., 0, 0, 0], │ │
│ │ │ [0, 0, 0, ..., 0, 0, 0]], dtype=uint8) │ │
│ │ kernel = array([[0, 0, 1, 0, 0], │ │
│ │ │ [1, 1, 1, 1, 1], │ │
│ │ │ [1, 1, 1, 1, 1], │ │
│ │ │ [1, 1, 1, 1, 1], │ │
│ │ │ [0, 0, 1, 0, 0]], dtype=uint8) │ │
│ │ self = <module.map_detection.homography.Homography object at 0x7f2db6bf7910> │ │
│ │ start_time = 1702954048.9647083 │ │
│ ╰─────────────────────────────────────────────────────────────────────────────────────╯ │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
MapDetectionError: Failed to find a free tile
2023-12-19 10:47:30.493 | WARNING | Saving error: ./log/error/1702954050493
截图
还有别的吗?
1702954050493-1.zip 1702954050493-2.zip 1702954050493-log.txt
下面是另一份日志,可能和这个报错是类似的 1702953157332-1.zip 1702953157332-2.zip
最近短猫和71的海图识别经常出问题,似乎是无法检测海域边界
注:下列压缩包都是7z格式(压缩效率好,不用分卷),但上传只支持zip,所以... 1703009792179.zip 1703063846802.zip 1703068684429.zip 1703069507752.zip
图片上的仿色纹理太多,打开 Alas - 模拟器设置 - 去除图片色彩抖动
好的,谢谢