This repository has been archived by the owner on Jul 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
pipeline.json
executable file
·125 lines (125 loc) · 2.77 KB
/
pipeline.json
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"type": "GStreamer",
"template": ["appsrc name=source ! decodebin ! videoconvert",
" ! gvadetect model={models[object_detection][person_vehicle_bike][network]} name=detection",
" ! queue ! gvatrack name=tracking",
" ! gvapython class=ObjectLineCrossing module=/home/pipeline-server/extensions/spatial_analytics/object_line_crossing.py name=object-line-crossing",
" ! appsink name=destination"],
"description": "Spatial Analytics line crossing events with model trained for person, vehicle and bike detection",
"parameters": {
"type": "object",
"properties": {
"classification-properties": {
"element": {
"name": "classification",
"format": "element-properties"
}
},
"detection-properties": {
"element": {
"name": "detection",
"format": "element-properties"
}
},
"tracking-properties": {
"element": {
"name": "tracking",
"format": "element-properties"
}
},
"object-line-crossing-config": {
"element": {
"name": "object-line-crossing",
"property": "kwarg",
"format": "json"
},
"type": "object",
"properties": {
"lines": {
"type": "array",
"items": {
"type": "object"
}
},
"enable_watermark": {
"type": "boolean"
},
"log_level": {
"type": "string"
}
}
},
"detection-device": {
"element": {
"name": "detection",
"property": "device"
},
"type": "string"
},
"classification-device": {
"element": {
"name": "classification",
"property": "device"
},
"type": "string"
},
"tracking-device": {
"element":
[ {"name":"tracking",
"property":"device"}
],
"type": "string"
},
"inference-interval": {
"element":
[ {"name":"detection",
"property":"inference-interval"},
{"name":"classification",
"property":"inference-interval"}
],
"type": "integer"
},
"detection-model-instance-id": {
"element": {
"name": "detection",
"property": "model-instance-id"
},
"type": "string"
},
"classification-model-instance-id": {
"element": {
"name": "classification",
"property": "model-instance-id"
},
"type": "string"
},
"object-class": {
"element": "classification",
"type": "string",
"default": "vehicle"
},
"reclassify-interval": {
"element": "classification",
"type": "integer"
},
"tracking-type": {
"element": "tracking",
"type": "string"
},
"detection-threshold": {
"element": {
"name": "detection",
"property": "threshold"
},
"type": "number"
},
"classification-threshold": {
"element": {
"name": "classification",
"property": "threshold"
},
"type": "number"
}
}
}
}