-
Notifications
You must be signed in to change notification settings - Fork 2
/
isentry.cfg
92 lines (71 loc) · 2.64 KB
/
isentry.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
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
// Sample config file for iSentry
application =
{
// Camera index. 0-default.
camera_device_id = 0;
// Show GUI windows or not. Default is not.
// When false, works as in headless mode as command line app
show_GUI = true;
}
motion_detection =
{
// Motion sensitivity. Number in 0...1 range.
// Less is more sensitive.
threshold = 0.2;
// Motion detection window size. How many previous frames are
// analyzed to detect motion.
detection_window_size = 15;
// To what max. width scale camera frame for motion detection.
// Scaling is done for performance reasons. Increasing size
// will give better accuracy but require CPU resources.
internal_frame_width = 320;
// Esimtated motion signal is smoothed using linear regression to avoid noise.
// This signal shows how many values should be used in
// linear regression. Bigger numeber gives smoother signal, but
// makes system respond slower to the motion.
smoothing_window_size = 15;
// How many frames before motion was detected to be considered
// part of motion sequence, saved to as images or video?
// Value "0" disables this feature.
backup_frames = 60;
};
image_recording =
{
// Enable image recording
enabled = true;
// Dir where to save images
dir=".";
// While motion detected, record every n-th frame.
record_every_n=5;
// Proportionally scale saved images to be no wider than given number in pixels
max_width=640;
// Max photos to record over single application run
// safeguard to avoid disk space being exhausted.
// -1 means "unlimited".
max_photos=-1;
};
video_recording =
{
// Enable video recording
enabled = true;
// Dir where to save video files
dir=".";
// Proportionally scale video frames to be no wider than given number in pixels
max_width=640;
// Max video duration (in frames)
// -1 means "unlimited" (not recommended!).
max_duration=300;
// Max video files to record over single application run
// safeguard to avoid disk space being exhausted.
// -1 means "unlimited".
max_videos=-1;
};
preview =
{
// Number of frames used in preview plots.
frames=30;
// If this option is present a horizontal line will be drawn
// to show motion detection threshold. It makes sense for this
// value to be set the same as "motion_detection/threshold"
threshold = 0.2;
}