1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-30 23:34:10 +08:00

Fix: Map detection in Microlayer Medley Chapter A

This commit is contained in:
LmeSzinc
2021-08-19 23:12:06 +08:00
parent 721f58ae18
commit f168518ee6
3 changed files with 22 additions and 6 deletions

View File

@@ -53,6 +53,22 @@ class Config:
MAP_HAS_AMBUSH = False
# ===== End of generated config =====
DETECTION_BACKEND = 'perspective'
COINCIDENT_POINT_ENCOURAGE_DISTANCE = 9
INTERNAL_LINES_FIND_PEAKS_PARAMETERS = {
'height': (50, 255 - 80),
'width': 1,
'prominence': 10,
'distance': 35,
}
EDGE_LINES_FIND_PEAKS_PARAMETERS = {
'height': (255 - 80, 255),
'prominence': 10,
'distance': 50,
'width': (0, 7),
'wlen': 1000
}
class Campaign(CampaignBase):
MAP = MAP

View File

@@ -45,7 +45,7 @@ A7, B7, C7, D7, E7, F7, G7, \
class Config(ConfigBase):
# ===== Start of generated config =====
MAP_SIREN_TEMPLATE = ['CApurple']
MAP_SIREN_TEMPLATE = ['CA']
MOVABLE_ENEMY_TURN = (2,)
MAP_HAS_SIREN = True
MAP_HAS_MOVABLE_ENEMY = True