-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
73 lines (56 loc) · 1.14 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
preprocessing:
prescale:
algorithm: Bicubic
imageHeight: 900
imageWidth: 1200
operations:
equalizeHistogram: true
reduceColors: false
colorReducerRatio: 10
gaussianRadius: 5
sigma: 2.0
segmentation:
minimalSegmentSize: 150
maskImage: true
useRed: true
redMask:
lowerHue: -20
upperHue: 20
lowerSaturation: 150
upperSaturation: 255
lowerValue: 100
upperValue: 255
useBlue: true
blueMask:
lowerHue: 220
upperHue: 300
lowerSaturation: 70
upperSaturation: 255
lowerValue: 0
upperValue: 255
useWhite: true
whiteMask:
lowerHue: 0
upperHue: 360
lowerSaturation: 0
upperSaturation: 75
lowerValue: 100
upperValue: 255
useYellow: true
yellowMask:
lowerHue: 20
upperHue: 60
lowerSaturation: 80
upperSaturation: 255
lowerValue: 150
upperValue: 255
identification:
minimalBunsWHRatio: 0.8
maximalBunsWHRatio: 1.3
bunsHeightToDistanceRatio: 3.5
detailPointsThreshold: 0.8
letterCoefficient: 0.1
stripeCoefficient: 0.3
whiteaxDifference: 0.15
blueMaxDifference: 0.5
yellowMaxDifference: 0.3