Skip to content
This repository was archived by the owner on Jul 10, 2023. It is now read-only.

Commit c8646bb

Browse files
Devskedaras
* Updating pipelines to correct gvapython path and adding new fields Co-authored-by: kerdanow <kinga.erdanowska@intel.com>
1 parent 119d3cf commit c8646bb

File tree

10 files changed

+94
-4
lines changed

10 files changed

+94
-4
lines changed

pipelines/action_recognition/general/pipeline.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@
1818
"description": "Encoder inference device: [CPU, GPU]",
1919
"type": "string",
2020
"default": "CPU"
21+
},
22+
"action-recognition-properties": {
23+
"element": {
24+
"name": "action_recognition",
25+
"format": "element-properties"
26+
}
2127
}
2228
}
2329
}

pipelines/object_classification/vehicle_attributes/pipeline.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,18 @@
88
"parameters": {
99
"type": "object",
1010
"properties": {
11+
"classification-properties": {
12+
"element": {
13+
"name": "classification",
14+
"format": "element-properties"
15+
}
16+
},
17+
"detection-properties": {
18+
"element": {
19+
"name" : "detection",
20+
"format": "element-properties"
21+
}
22+
},
1123
"detection-device": {
1224
"element": {
1325
"name": "detection",

pipelines/object_detection/person/pipeline.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@
77
"parameters": {
88
"type": "object",
99
"properties": {
10+
"detection-properties": {
11+
"element": {
12+
"name": "detection",
13+
"format": "element-properties"
14+
}
15+
},
1016
"detection-device": {
1117
"element": {
1218
"name": "detection",

pipelines/object_detection/person_vehicle_bike/pipeline.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@
77
"parameters": {
88
"type": "object",
99
"properties": {
10+
"detection-properties": {
11+
"element": {
12+
"name": "detection",
13+
"format": "element-properties"
14+
}
15+
},
1016
"detection-device": {
1117
"element": {
1218
"name": "detection",

pipelines/object_detection/vehicle/pipeline.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@
77
"parameters": {
88
"type": "object",
99
"properties": {
10+
"detection-properties": {
11+
"element": {
12+
"name": "detection",
13+
"format": "element-properties"
14+
}
15+
},
1016
"detection-device": {
1117
"element": {
1218
"name": "detection",

pipelines/object_tracking/person_vehicle_bike/pipeline.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,24 @@
99
"parameters": {
1010
"type": "object",
1111
"properties": {
12+
"classification-properties": {
13+
"element": {
14+
"name": "classification",
15+
"format": "element-properties"
16+
}
17+
},
18+
"detection-properties": {
19+
"element": {
20+
"name": "detection",
21+
"format": "element-properties"
22+
}
23+
},
24+
"tracking-properties": {
25+
"element": {
26+
"name": "tracking",
27+
"format": "element-properties"
28+
}
29+
},
1230
"detection-device": {
1331
"element": {
1432
"name": "detection",

pipelines/spatial_analytics/object_line_crossing/pipeline.json

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,30 @@
33
"template": ["appsrc name=source ! decodebin ! videoconvert",
44
" ! gvadetect model={models[object_detection][person_vehicle_bike][network]} name=detection",
55
" ! queue ! gvatrack name=tracking",
6-
" ! gvapython class=ObjectLineCrossing module=/home/video-analytics-serving/extensions/spatial_analytics/object_line_crossing.py name=object-line-crossing",
6+
" ! gvapython class=ObjectLineCrossing module=/home/pipeline-server/extensions/spatial_analytics/object_line_crossing.py name=object-line-crossing",
77
" ! appsink name=destination"],
88
"description": "Spatial Analytics line crossing events with model trained for person, vehicle and bike detection",
99
"parameters": {
1010
"type": "object",
1111
"properties": {
12+
"classification-properties": {
13+
"element": {
14+
"name": "classification",
15+
"format": "element-properties"
16+
}
17+
},
18+
"detection-properties": {
19+
"element": {
20+
"name": "detection",
21+
"format": "element-properties"
22+
}
23+
},
24+
"tracking-properties": {
25+
"element": {
26+
"name": "tracking",
27+
"format": "element-properties"
28+
}
29+
},
1230
"object-line-crossing-config": {
1331
"element": {
1432
"name": "object-line-crossing",

pipelines/spatial_analytics/object_zone_count/pipeline.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,18 @@
22
"type": "GStreamer",
33
"template": ["appsrc name=source ! decodebin ! videoconvert",
44
" ! gvadetect model={models[object_detection][person_vehicle_bike][network]} name=detection",
5-
" ! gvapython name=object-zone-count class=ObjectZoneCount module=/home/video-analytics-serving/extensions/spatial_analytics/object_zone_count.py",
5+
" ! gvapython name=object-zone-count class=ObjectZoneCount module=/home/pipeline-server/extensions/spatial_analytics/object_zone_count.py",
66
" ! appsink name=destination"],
77
"description": "Object Detection using gstreamer gvapython element to transmit Spatial Analytics events",
88
"parameters": {
99
"type": "object",
1010
"properties": {
11+
"detection-properties": {
12+
"element": {
13+
"name": "detection",
14+
"format": "element-properties"
15+
}
16+
},
1117
"detection-device": {
1218
"element": {
1319
"name": "detection",

pipelines/spatial_analytics/object_zone_count_person/pipeline.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,18 @@
22
"type": "GStreamer",
33
"template": ["appsrc name=source ! decodebin ! videoconvert",
44
" ! gvadetect model={models[object_detection][person][network]} name=detection",
5-
" ! gvapython name=object-zone-count class=ObjectZoneCount module=/home/video-analytics-serving/extensions/spatial_analytics/object_zone_count.py",
5+
" ! gvapython name=object-zone-count class=ObjectZoneCount module=/home/pipeline-server/extensions/spatial_analytics/object_zone_count.py",
66
" ! appsink name=destination"],
77
"description": "Object Detection using gstreamer gvapython element to transmit Spatial Analytics events",
88
"parameters": {
99
"type": "object",
1010
"properties": {
11+
"detection-properties": {
12+
"element": {
13+
"name": "detection",
14+
"format": "element-properties"
15+
}
16+
},
1117
"detection-device": {
1218
"element": {
1319
"name": "detection",

pipelines/spatial_analytics/object_zone_count_vehicle/pipeline.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,18 @@
22
"type": "GStreamer",
33
"template": ["appsrc name=source ! decodebin ! videoconvert",
44
" ! gvadetect model={models[object_detection][vehicle][network]} name=detection",
5-
" ! gvapython name=object-zone-count class=ObjectZoneCount module=/home/video-analytics-serving/extensions/spatial_analytics/object_zone_count.py",
5+
" ! gvapython name=object-zone-count class=ObjectZoneCount module=/home/pipeline-server/extensions/spatial_analytics/object_zone_count.py",
66
" ! appsink name=destination"],
77
"description": "Spatial Analytics zone events with model trained for vehicle detection",
88
"parameters": {
99
"type": "object",
1010
"properties": {
11+
"detection-properties": {
12+
"element": {
13+
"name": "detection",
14+
"format": "element-properties"
15+
}
16+
},
1117
"detection-device": {
1218
"element": {
1319
"name": "detection",

0 commit comments

Comments
 (0)