We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69b5730 commit 7ec61a7Copy full SHA for 7ec61a7
1 file changed
dev_tools/relative_record.py
@@ -17,7 +17,19 @@ class Config:
17
"""
18
Paste the config of map file here
19
20
- pass
+ INTERNAL_LINES_FIND_PEAKS_PARAMETERS = {
21
+ 'height': (80, 255 - 17),
22
+ 'width': (0.9, 10),
23
+ 'prominence': 10,
24
+ 'distance': 35,
25
+ }
26
+ EDGE_LINES_FIND_PEAKS_PARAMETERS = {
27
+ 'height': (255 - 17, 255),
28
29
+ 'distance': 50,
30
+ 'wlen': 1000
31
32
+ HOMO_EDGE_COLOR_RANGE = (0, 17)
33
34
35
@@ -54,6 +66,7 @@ class Config:
54
66
cfg = AzurLaneConfig(CONFIG).merge(Config())
55
67
al = ModuleBase(cfg)
56
68
al.device.disable_stuck_detection()
69
+ al.device.screenshot_interval_set(0.11)
57
70
view = View(cfg)
58
71
al.device.screenshot()
59
72
view.load(al.device.image)
0 commit comments