mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-25 11:18:14 +08:00
Opt: Perspective parameters in Microlayer Medley
This commit is contained in:
@@ -57,7 +57,7 @@ class Config:
|
||||
COINCIDENT_POINT_ENCOURAGE_DISTANCE = 5
|
||||
INTERNAL_LINES_FIND_PEAKS_PARAMETERS = {
|
||||
'height': (50, 255 - 80),
|
||||
'width': 1,
|
||||
'width': (0, 7),
|
||||
'prominence': 10,
|
||||
'distance': 35,
|
||||
}
|
||||
@@ -65,7 +65,7 @@ class Config:
|
||||
'height': (255 - 80, 255),
|
||||
'prominence': 10,
|
||||
'distance': 50,
|
||||
'width': (0, 7),
|
||||
# 'width': (0, 7),
|
||||
'wlen': 1000
|
||||
}
|
||||
|
||||
|
||||
@@ -60,7 +60,7 @@ class Config:
|
||||
COINCIDENT_POINT_ENCOURAGE_DISTANCE = 5
|
||||
INTERNAL_LINES_FIND_PEAKS_PARAMETERS = {
|
||||
'height': (50, 255 - 80),
|
||||
'width': 1,
|
||||
'width': (0, 7),
|
||||
'prominence': 10,
|
||||
'distance': 35,
|
||||
}
|
||||
@@ -68,7 +68,7 @@ class Config:
|
||||
'height': (255 - 80, 255),
|
||||
'prominence': 10,
|
||||
'distance': 50,
|
||||
'width': (0, 7),
|
||||
# 'width': (0, 7),
|
||||
'wlen': 1000
|
||||
}
|
||||
|
||||
|
||||
@@ -53,6 +53,24 @@ class Config:
|
||||
MAP_HAS_AMBUSH = False
|
||||
# ===== End of generated config =====
|
||||
|
||||
DETECTION_BACKEND = 'perspective'
|
||||
INTERNAL_LINES_HOUGHLINES_THRESHOLD = 40
|
||||
EDGE_LINES_HOUGHLINES_THRESHOLD = 40
|
||||
COINCIDENT_POINT_ENCOURAGE_DISTANCE = 5
|
||||
INTERNAL_LINES_FIND_PEAKS_PARAMETERS = {
|
||||
'height': (100, 255 - 60),
|
||||
'width': (0, 7),
|
||||
'prominence': 10,
|
||||
'distance': 35,
|
||||
}
|
||||
EDGE_LINES_FIND_PEAKS_PARAMETERS = {
|
||||
'height': (255 - 60, 255),
|
||||
'prominence': 2,
|
||||
'distance': 50,
|
||||
# 'width': (0, 7),
|
||||
'wlen': 1000
|
||||
}
|
||||
|
||||
|
||||
class Campaign(CampaignBase):
|
||||
MAP = MAP
|
||||
|
||||
@@ -54,6 +54,24 @@ class Config:
|
||||
MAP_HAS_AMBUSH = False
|
||||
# ===== End of generated config =====
|
||||
|
||||
DETECTION_BACKEND = 'perspective'
|
||||
INTERNAL_LINES_HOUGHLINES_THRESHOLD = 40
|
||||
EDGE_LINES_HOUGHLINES_THRESHOLD = 40
|
||||
COINCIDENT_POINT_ENCOURAGE_DISTANCE = 5
|
||||
INTERNAL_LINES_FIND_PEAKS_PARAMETERS = {
|
||||
'height': (100, 255 - 60),
|
||||
'width': (0, 7),
|
||||
'prominence': 10,
|
||||
'distance': 35,
|
||||
}
|
||||
EDGE_LINES_FIND_PEAKS_PARAMETERS = {
|
||||
'height': (255 - 60, 255),
|
||||
'prominence': 2,
|
||||
'distance': 50,
|
||||
# 'width': (0, 7),
|
||||
'wlen': 1000
|
||||
}
|
||||
|
||||
|
||||
class Campaign(CampaignBase):
|
||||
MAP = MAP
|
||||
|
||||
Reference in New Issue
Block a user