1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-28 16:14:06 +08:00

Fix: Update parameters for map detection because map background get lighter now

This commit is contained in:
LmeSzinc
2022-04-09 17:06:39 +08:00
parent 1e6d3ba2d9
commit 07e1df0eb4
18 changed files with 53 additions and 83 deletions

View File

@@ -48,17 +48,18 @@ class Config:
EDGE_LINES_HOUGHLINES_THRESHOLD = 30
COINCIDENT_POINT_ENCOURAGE_DISTANCE = 1.2
INTERNAL_LINES_FIND_PEAKS_PARAMETERS = {
'height': (150, 255 - 24),
'width': (0.9, 10),
'height': (120, 255 - 49),
'width': (1.5, 10),
'prominence': 10,
'distance': 35,
}
EDGE_LINES_FIND_PEAKS_PARAMETERS = {
'height': (255 - 24, 255),
'height': (255 - 49, 255),
'prominence': 10,
'distance': 50,
'wlen': 1000,
'wlen': 1000
}
HOMO_EDGE_COLOR_RANGE = (0, 49)
MAP_SWIPE_MULTIPLY = 1.493
MAP_SWIPE_MULTIPLY_MINITOUCH = 1.443