mirror of
https://gitee.com/sui-feng-cb/AzurLaneAutoScript1
synced 2026-03-09 18:39:04 +08:00
Opt: Increase HOMO_EDGE_HOUGHLINES_THRESHOLD to 140
140 is the length of one tile Also show Lines objects in trace back
This commit is contained in:
parent
eff42d07d9
commit
593912cbcc
@ -157,7 +157,7 @@ class ManualConfig:
|
||||
HOMO_RECTANGLE_THRESHOLD = 10
|
||||
|
||||
HOMO_EDGE_DETECT = True
|
||||
HOMO_EDGE_HOUGHLINES_THRESHOLD = 120
|
||||
HOMO_EDGE_HOUGHLINES_THRESHOLD = 140
|
||||
HOMO_EDGE_COLOR_RANGE = (0, 24)
|
||||
# ((x, y), [upper-left, upper-right, bottom-left, bottom-right])
|
||||
HOMO_STORAGE = None
|
||||
|
||||
@ -19,6 +19,8 @@ class Points:
|
||||
def __str__(self):
|
||||
return str(self.points)
|
||||
|
||||
__repr__ = __str__
|
||||
|
||||
def __iter__(self):
|
||||
return iter(self.points)
|
||||
|
||||
@ -87,6 +89,8 @@ class Lines:
|
||||
def __str__(self):
|
||||
return str(self.lines)
|
||||
|
||||
__repr__ = __str__
|
||||
|
||||
def __iter__(self):
|
||||
return iter(self.lines)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user