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
63 lines (63 loc) · 1.45 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
{
"type": "GStreamer",
"template": ["appsrc name=source ! decodebin ! videoconvert",
" ! gvadetect model={models[object_detection][person_vehicle_bike][network]} name=detection",
" ! gvapython name=object-zone-count class=ObjectZoneCount module=/home/pipeline-server/extensions/spatial_analytics/object_zone_count.py",
" ! appsink name=destination"],
"description": "Object Detection using gstreamer gvapython element to transmit Spatial Analytics events",
"parameters": {
"type": "object",
"properties": {
"detection-properties": {
"element": {
"name": "detection",
"format": "element-properties"
}
},
"detection-device": {
"element": {
"name": "detection",
"property": "device"
},
"type": "string"
},
"detection-model-instance-id": {
"element": {
"name": "detection",
"property": "model-instance-id"
},
"type": "string"
},
"inference-interval": {
"element": "detection",
"type": "integer"
},
"threshold": {
"element": "detection",
"type": "number"
},
"object-zone-count-config": {
"element": {
"name": "object-zone-count",
"property": "kwarg",
"format": "json"
},
"type": "object",
"properties": {
"zones": {
"type": "array",
"items": {
"type": "object"
}
},
"enable_watermark": {
"type": "boolean"
},
"log_level": {
"type": "string"
}
}
}
}
}
}