-
Notifications
You must be signed in to change notification settings - Fork 110
Expand file tree
/
Copy pathconfigmap.yaml
More file actions
127 lines (127 loc) · 5.78 KB
/
configmap.yaml
File metadata and controls
127 lines (127 loc) · 5.78 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
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
126
127
apiVersion: v1
data:
ENABLE_RTSP: "true"
RTSP_PORT: "8554"
ENABLE_WEBRTC: "true"
WEBRTC_SIGNALING_SERVER: "ws://localhost:8443"
RUN_MODE: "EVA"
GENICAM: "Balluff"
GST_DEBUG: "1,gencamsrc:2"
DETECTION_DEVICE: "CPU"
CLASSIFICATION_DEVICE: "CPU"
ADD_UTCTIME_TO_METADATA: "true"
LSFEATURE_NAME: "dlstreamer-pipeline-server"
HTTPS: "false"
MTLS_VERIFICATION: "false"
APPEND_PIPELINE_NAME_TO_PUBLISHER_TOPIC: "false"
REST_SERVER_PORT: "8080"
MQTT_HOST: "ibvs-broker"
MQTT_PORT: "1883"
kind: ConfigMap
metadata:
annotations:
katenary.v3/compose-hash: 4dd006301f669d044c60fd579bb24fb08133f26f
katenary.v3/version: release-3.0.0-rc2
labels:
{{- include "image_based_video_search.labels" . | nindent 4 }}
katenary.v3/component: dlstreamer-pipeline-server
name: '{{ include "image_based_video_search.fullname" . }}-dlstreamer-pipeline-server-env'
---
apiVersion: v1
data:
config.cpu.json: |
{
"config": {
"pipelines": [
{
"name": "filter-pipeline",
"source": "gstreamer",
"queue_maxsize": 50,
"pipeline": "{auto_source} name=source ! decodebin3 ! gvadetect model=/models/public/yolo11s/FP16/yolo11s.xml batch_size=1 inference-interval=1 nireq=2 threshold=0.7 model-instance-id=instcpu0 name=detection device=CPU ! queue ! gvainference model=/models/resnet-50-pytorch/FP32/resnet-50-pytorch.xml inference-region=1 name=classification model-instance-id=infer1 device=CPU ! queue ! videoconvertscale ! gvametaconvert add-tensor-data=true name=metaconvert ! jpegenc ! appsink name=destination",
"auto_start": false,
"mqtt_publisher": {
"publish_frame": true,
"topic": "edge_video_analytics_results"
}
},
{
"name": "search_image",
"source": "image_ingestor",
"queue_maxsize": 50,
"pipeline": "appsrc name=source ! decodebin3 ! gvainference model=/models/resnet-50-pytorch/FP32/resnet-50-pytorch.xml model-instance-id=infer2 device=CPU ! gvametaconvert add-tensor-data=true ! appsink name=destination"
}
]
}
}
config.gpu.json: |
{
"config": {
"pipelines": [
{
"name": "filter-pipeline",
"source": "gstreamer",
"queue_maxsize": 50,
"pipeline": "{auto_source} name=source ! decodebin3 ! gvadetect model=/models/public/yolo11s/FP16/yolo11s.xml batch_size=1 inference-interval=1 inference-region=0 nireq=2 threshold=0.7 model-instance-id=instgpu0 name=detection device=GPU ! queue ! gvainference model=/models/resnet-50-pytorch/FP32/resnet-50-pytorch.xml inference-region=1 device=GPU model-instance-id=classify1 ! queue ! vapostproc ! videoconvertscale ! gvametaconvert add-tensor-data=true name=metaconvert ! jpegenc ! appsink name=destination",
"auto_start": false,
"mqtt_publisher": {
"publish_frame": true,
"topic": "edge_video_analytics_results"
}
},
{
"name": "search_image",
"source": "image_ingestor",
"queue_maxsize": 50,
"pipeline": "appsrc name=source ! decodebin3 ! gvainference model=/models/resnet-50-pytorch/FP32/resnet-50-pytorch.xml model-instance-id=infer2 device=GPU ! gvametaconvert add-tensor-data=true ! appsink name=destination"
}
]
}
}
config.npu.json: |
{
"config": {
"pipelines": [
{
"name": "filter-pipeline",
"source": "gstreamer",
"queue_maxsize": 50,
"pipeline": "{auto_source} ! decodebin3 ! gvadetect model=/models/public/yolo11s/FP16/yolo11s.xml batch_size=1 inference-interval=1 nireq=2 threshold=0.7 model-instance-id=instnpu0 name=detection device=NPU ! queue ! gvainference model=/models/resnet-50-pytorch/FP32/resnet-50-pytorch.xml inference-region=1 device=NPU model-instance-id=infer1 ! queue ! vapostproc ! videoconvertscale ! gvametaconvert add-tensor-data=true name=metaconvert ! jpegenc ! appsink name=destination",
"auto_start": false,
"mqtt_publisher": {
"publish_frame": true,
"topic": "edge_video_analytics_results"
}
},
{
"name": "search_image",
"source": "image_ingestor",
"queue_maxsize": 50,
"pipeline": "appsrc name=source ! decodebin3 ! gvainference model=/models/resnet-50-pytorch/FP32/resnet-50-pytorch.xml model-instance-id=infer2 device=NPU ! gvametaconvert add-tensor-data=true ! appsink name=destination"
}
]
}
}
person-vehicle-bike-detection-2004.json: |
{
"json_schema_version": "2.2.0",
"input_preproc": [],
"output_postproc": [
{
"converter": "boxes_labels",
"labels": [
"vehicle",
"person",
"bike"
]
}
]
}
kind: ConfigMap
metadata:
annotations:
katenary.v3/compose-hash: 4dd006301f669d044c60fd579bb24fb08133f26f
katenary.v3/version: release-3.0.0-rc2
labels:
{{- include "image_based_video_search.labels" . | nindent 4 }}
katenary.v3/component: dlstreamer-pipeline-server
name: '{{ include "image_based_video_search.fullname" . }}-dlstreamer-pipeline-server-pipeline'