-
Notifications
You must be signed in to change notification settings - Fork 1
/
settings.toml
61 lines (47 loc) · 1.46 KB
/
settings.toml
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
# Settings for the Observer
[calibration]
calibrateonstart = false # immediate calibration after launching the observer
[calibration.coefficient] # coefficient of the movement (0~1)
x = 0.7
y = 0.5
[calibration.invert] # invert servo movement
x = true
y = true
[calibration.tolerate] # modification of the focusing area
x = 1
y = 1
[camera]
maxfps = 60 # maximal capable FPS of the camera
source = 0 # camera source index
[camera.angleofview] # angle of view of the camera
horizontal = 62.2
vertical = 48.8
[camera.frame] # camera resolution
height = 480
width = 640
[general]
idleduration = 6 # duration (in seconds) before reseting the camera angles
period = 30 # cycle delay in milliseconds
show = false # show the live preview of the frames (IMPORTANT: only if display output is available)
[servos] # GPIO PWM pins of the servos (IMPORTANT: NOT the pin numbers)
pinx = 17
piny = 18
[targeting]
aimarea = 0.15 # ratio of the focusing area (0~1)
cascades = ["data/frontalface_default.xml"] # list of paths to cascades to apply
[targeting.color]
[targeting.color.midrect] # focusing area rectangle
blue = 160
green = 20
red = 20
thickness = 1
[targeting.color.other] # other rectangles
blue = 30
green = 100
red = 20
thickness = 2
[targeting.color.target] # target rectangle
blue = 30
green = 30
red = 200
thickness = 2