-
Notifications
You must be signed in to change notification settings - Fork 111
Expand file tree
/
Copy pathconfig.json
More file actions
48 lines (48 loc) · 2.11 KB
/
config.json
File metadata and controls
48 lines (48 loc) · 2.11 KB
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
{
"config": {
"pipelines": [
{
"name": "weld_defect_classification",
"source": "gstreamer",
"queue_maxsize": 50,
"pipeline": "rtspsrc add-reference-timestamp-meta=true location=\"rtsp://mediamtx:8554/live.stream\" latency=100 name=source ! rtph264depay ! h264parse ! decodebin ! videoconvert ! video/x-raw,format=BGR ! gvaclassify inference-region=full-frame name=classification ! gvawatermark ! gvametaconvert add-empty-results=true add-rtp-timestamp=true name=metaconvert ! queue ! gvafpscounter ! appsink name=destination",
"parameters": {
"type": "object",
"properties": {
"classification-properties": {
"element": {
"name": "classification",
"format": "element-properties"
}
}
}
},
"auto_start": true,
"payload": {
"destination": {
"metadata": {
"type": "mqtt",
"topic": "vision_weld_defect_classification"
},
"frame": [{
"type": "webrtc",
"peer-id": "samplestream"
},
{
"type": "s3_write",
"bucket": "dlstreamer-pipeline-results",
"folder_prefix": "weld-defect-classification",
"block": false
}]
},
"parameters": {
"classification-properties": {
"model": "/home/pipeline-server/resources/models/weld-defect-classification-f16-DeiT/deployment/Classification/model/model.xml",
"device": "CPU"
}
}
}
}
]
}
}