Fix: 优化AB图参数

This commit is contained in:
LmeSzinc 2020-05-24 04:26:53 +08:00
parent d75930cda2
commit ec03efaa67
3 changed files with 5 additions and 5 deletions

View File

@ -31,13 +31,13 @@ class Config:
TRUST_EDGE_LINES = False
COINCIDENT_POINT_ENCOURAGE_DISTANCE = 1.5
INTERNAL_LINES_FIND_PEAKS_PARAMETERS = {
'height': (100, 235),
'height': (100, 255 - 24),
'width': 1,
'prominence': 10,
'distance': 35,
}
EDGE_LINES_FIND_PEAKS_PARAMETERS = {
'height': (255 - 80, 255),
'height': (255 - 24, 255),
'prominence': 2,
'distance': 50,
'wlen': 1000

View File

@ -36,13 +36,13 @@ class Config:
TRUST_EDGE_LINES = False
COINCIDENT_POINT_ENCOURAGE_DISTANCE = 1.5
INTERNAL_LINES_FIND_PEAKS_PARAMETERS = {
'height': (100, 235),
'height': (100, 255 - 24),
'width': 1,
'prominence': 10,
'distance': 35,
}
EDGE_LINES_FIND_PEAKS_PARAMETERS = {
'height': (255 - 80, 255),
'height': (255 - 24, 255),
'prominence': 2,
'distance': 50,
'wlen': 1000

View File

@ -73,7 +73,7 @@ class Campaign(CampaignBase):
return True
if self.clear_enemy(scale=(1,)):
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
if self.clear_enemy(genre=['light', 'main']):
return True