Fix: Perspective parameters in 4-5

This commit is contained in:
LmeSzinc 2023-01-14 22:12:12 +08:00
parent b52744b93e
commit 07217a02d9

View File

@ -57,18 +57,18 @@ class Config:
EDGE_LINES_HOUGHLINES_THRESHOLD = 40
COINCIDENT_POINT_ENCOURAGE_DISTANCE = 1.5
INTERNAL_LINES_FIND_PEAKS_PARAMETERS = {
'height': (120, 255 - 49),
'height': (120, 255 - 33),
'width': (1.5, 10),
'prominence': 10,
'distance': 35,
}
EDGE_LINES_FIND_PEAKS_PARAMETERS = {
'height': (255 - 49, 255),
'height': (255 - 33, 255),
'prominence': 10,
'distance': 50,
'wlen': 1000
}
HOMO_EDGE_COLOR_RANGE = (0, 49)
HOMO_EDGE_COLOR_RANGE = (0, 33)
HOMO_EDGE_HOUGHLINES_THRESHOLD = 210