-
Notifications
You must be signed in to change notification settings - Fork 110
Expand file tree
/
Copy pathconfig.json
More file actions
78 lines (78 loc) · 4.59 KB
/
config.json
File metadata and controls
78 lines (78 loc) · 4.59 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
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
{
"config": {
"pipelines": [
{
"name": "yolov11s",
"source": "gstreamer",
"queue_maxsize": 50,
"pipeline": "{auto_source} name=source ! decodebin ! videoconvert ! video/x-raw ! gvadetect model=/home/pipeline-server/models/public/yolo11s/INT8/yolo11s.xml pre-process-backend=opencv device=CPU threshold=0.7 inference-interval=1 inference-region=0 model-instance-id=inst0 name=detection ! queue ! gvaclassify model=/home/pipeline-server/models/colorcls2/colorcls2.xml pre-process-backend=opencv device=CPU inference-interval=1 model-instance-id=inst1 inference-region=1 name=classification ! queue ! gvametaconvert add-empty-results=true name=metaconvert ! queue ! gvafpscounter ! appsink name=destination",
"parameters": {
"type": "object",
"properties": {
"detection-properties": {
"element": {
"name": "detection",
"format": "element-properties"
}
},
"classification-properties": {
"element": {
"name": "classification",
"format": "element-properties"
}
}
}
},
"auto_start": false
},
{
"name": "yolov11s_gpu",
"source": "gstreamer",
"queue_maxsize": 50,
"pipeline": "{auto_source} name=source ! parsebin ! vah264dec ! vapostproc ! video/x-raw(memory:VAMemory) ! gvadetect model=/home/pipeline-server/models/public/yolo11s/INT8/yolo11s.xml device=GPU batch-size=1 inference-region=0 inference-interval=1 nireq=1 ie-config=\"GPU_THROUGHPUT_STREAMS=1\" threshold=0.7 model-instance-id=instgpu0 name=detection ! queue max-size-buffers=1 max-size-bytes=0 max-size-time=0 ! gvaclassify batch-size=1 model=/home/pipeline-server/models/colorcls2/colorcls2.xml device=GPU inference-interval=1 inference-region=1 nireq=1 ie-config=\"GPU_THROUGHPUT_STREAMS=1\" model-instance-id=instgpu1 name=classification ! gvametaconvert add-empty-results=true name=metaconvert ! appsink name=destination",
"parameters": {
"type": "object",
"properties": {
"detection-properties": {
"element": {
"name": "detection",
"format": "element-properties"
}
},
"classification-properties": {
"element": {
"name": "classification",
"format": "element-properties"
}
}
}
},
"auto_start": false
},
{
"name": "yolov11s_npu",
"source": "gstreamer",
"queue_maxsize": 50,
"pipeline": "{auto_source} name=source ! parsebin ! vah264dec ! vapostproc ! video/x-raw(memory:VAMemory) ! gvadetect model=/home/pipeline-server/models/public/yolo11s/INT8/yolo11s.xml device=NPU batch-size=1 inference-interval=1 inference-region=0 nireq=4 threshold=0.7 model-instance-id=instnpu0 name=detection ! queue max-size-buffers=1 max-size-bytes=0 max-size-time=0 ! gvaclassify batch-size=1 model=/home/pipeline-server/models/colorcls2/colorcls2.xml device=NPU inference-interval=1 inference-region=1 batch-size=1 nireq=4 model-instance-id=instnpu1 name=classification ! gvametaconvert add-empty-results=true name=metaconvert ! appsink name=destination",
"parameters": {
"type": "object",
"properties": {
"detection-properties": {
"element": {
"name": "detection",
"format": "element-properties"
}
},
"classification-properties": {
"element": {
"name": "classification",
"format": "element-properties"
}
}
}
},
"auto_start": false
}
]
}
}