mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-12 06:18:21 +08:00
Fix: 优化AB图参数
This commit is contained in:
@@ -31,13 +31,13 @@ class Config:
|
|||||||
TRUST_EDGE_LINES = False
|
TRUST_EDGE_LINES = False
|
||||||
COINCIDENT_POINT_ENCOURAGE_DISTANCE = 1.5
|
COINCIDENT_POINT_ENCOURAGE_DISTANCE = 1.5
|
||||||
INTERNAL_LINES_FIND_PEAKS_PARAMETERS = {
|
INTERNAL_LINES_FIND_PEAKS_PARAMETERS = {
|
||||||
'height': (100, 235),
|
'height': (100, 255 - 24),
|
||||||
'width': 1,
|
'width': 1,
|
||||||
'prominence': 10,
|
'prominence': 10,
|
||||||
'distance': 35,
|
'distance': 35,
|
||||||
}
|
}
|
||||||
EDGE_LINES_FIND_PEAKS_PARAMETERS = {
|
EDGE_LINES_FIND_PEAKS_PARAMETERS = {
|
||||||
'height': (255 - 80, 255),
|
'height': (255 - 24, 255),
|
||||||
'prominence': 2,
|
'prominence': 2,
|
||||||
'distance': 50,
|
'distance': 50,
|
||||||
'wlen': 1000
|
'wlen': 1000
|
||||||
|
|||||||
@@ -36,13 +36,13 @@ class Config:
|
|||||||
TRUST_EDGE_LINES = False
|
TRUST_EDGE_LINES = False
|
||||||
COINCIDENT_POINT_ENCOURAGE_DISTANCE = 1.5
|
COINCIDENT_POINT_ENCOURAGE_DISTANCE = 1.5
|
||||||
INTERNAL_LINES_FIND_PEAKS_PARAMETERS = {
|
INTERNAL_LINES_FIND_PEAKS_PARAMETERS = {
|
||||||
'height': (100, 235),
|
'height': (100, 255 - 24),
|
||||||
'width': 1,
|
'width': 1,
|
||||||
'prominence': 10,
|
'prominence': 10,
|
||||||
'distance': 35,
|
'distance': 35,
|
||||||
}
|
}
|
||||||
EDGE_LINES_FIND_PEAKS_PARAMETERS = {
|
EDGE_LINES_FIND_PEAKS_PARAMETERS = {
|
||||||
'height': (255 - 80, 255),
|
'height': (255 - 24, 255),
|
||||||
'prominence': 2,
|
'prominence': 2,
|
||||||
'distance': 50,
|
'distance': 50,
|
||||||
'wlen': 1000
|
'wlen': 1000
|
||||||
|
|||||||
@@ -73,7 +73,7 @@ class Campaign(CampaignBase):
|
|||||||
return True
|
return True
|
||||||
if self.clear_enemy(scale=(1,)):
|
if self.clear_enemy(scale=(1,)):
|
||||||
return True
|
return True
|
||||||
if self.clear_enemy(scale=(2,), genre=['light', 'main', 'carrier']):
|
if self.clear_enemy(scale=(2,), genre=['light', 'main', 'enemy', 'carrier']):
|
||||||
return True
|
return True
|
||||||
if self.clear_enemy(genre=['light', 'main']):
|
if self.clear_enemy(genre=['light', 'main']):
|
||||||
return True
|
return True
|
||||||
|
|||||||
Reference in New Issue
Block a user