-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.yaml
83 lines (69 loc) · 1.62 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
74
75
76
77
78
79
80
81
82
83
model_params:
disp_width: 320
disp_height: 240
model:
detection: '/opt/model_zoo/TFL-OD-2000-ssd-mobV1-coco-mlperf-300x300/'
streams:
- id: "stream0"
uri: 'rtspt://170.93.143.139/rtplive/1701519c02510075004d823633235daa'
triggers:
- vehicle_logging
- person_recording
- id: "stream1"
uri: 'rtspt://170.93.143.139/rtplive/1701519c02510075004d823633235daa'
triggers:
- traffic_sign_logging
- id: "stream2"
uri: 'rtspt://170.93.143.139/rtplive/1701519c02510075004d823633235daa'
triggers:
- vehicle_logging
- person_recording
- id: "stream3"
uri: 'rtspt://170.93.143.139/rtplive/1701519c02510075004d823633235daa'
triggers:
- traffic_sign_logging
filters:
- name: truck_filter
labels:
- vehicle/truck
threshold: 0.3
- name: car_filter
labels:
- vehicle/car
threshold: 0.5
- name: motorcycle_filter
labels:
- vehicle/motorcycle
threshold: 0.7
- name: traffic_sign_filter
labels:
- 'outdoor/traffic light'
- 'outdoor/stop sign'
threshold: 0.5
- name: person_filter
labels:
- person/person
threshold: 0.8
actions:
- name: record_event
type: record_event
length: 10
location: /tmp/
- name: log_event
type: log_event
location: /tmp/log.csv
triggers:
- name: vehicle_logging
action: log_event
filters:
- car_filter
- motorcycle_filter
- truck_filter
- name: person_recording
action: record_event
filters:
- person_filter
- name: traffic_sign_logging
action: log_event
filters:
- traffic_sign_filter