forked from JeffersonLab/gauge_reader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
readGauge.cfg
41 lines (31 loc) · 1.13 KB
/
readGauge.cfg
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
## debug = 0, 1, 2
debug = 0;
## logfile will default to stderr
#logfile = "readGauge.log";
## If defined, then input will come from this device only
#video_device = "/dev/video0";
## Output the pressure on each gauge by taking the median
# of recorded values over max_frames frames/input_files
max_frames = 1;
## Region of interest in image [x, y, width, height]
## Note: 0,0 is upper-left
ROI = [420, 580, 200, 75];
## HoughCircle = [minDist, param1, param1, minRadius, maxRadius]
HoughCircleParam = [30, 50, 10, 20, 40];
## HoughLine = [thresh, maxLineGap]
HoughLineParam = [25, 7];
## Conversion factors for low-pressure gauge
# [NOTE: trailing decimal is required!]
ang2psi_lo = {
angMin = 30.; # angles < angMin are ignored
angMax = 250.; # angles > angMax are ignored
angZero = 265.; # angle corresponding to 0 psi
conv = 0.222; # psi/degree
};
## Conversion factors for high-pressure gauge
ang2psi_hi = {
angMin = 30.; # angles < angMin are ignored
angMax = 250.; # angles > angMax are ignored
angZero = 200.; # angle corresponding to 0 psi
conv = 13.8; # psi/degree
};