Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU)
• DeepStream Version: 7.1
• JetPack Version (valid for Jetson only)
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
**• Issue Type( questions, new requirements, bugs): DeepStream SDK **
• How to reproduce the issue ?
• Requirement details: nvmultisrcbin
My pipeline has the following critical elements: nvmultisrcbin
, nvinfer
, tracker
and nvmsgconv + nvmsgbroker
. My pipeline does inference, tracking and outputs metadata to a Kafka topic only. There’s no display.
I have modified the nvmsgconv
to include analytics information such as frame ID, tracking ID, bounding box information etc into a message. In addition to this information, I would also like to include “camera_id” (or “camera_name”) information as supplied to the nvmultisrcbin
component when adding a new stream source.
From the nvmultisrcbin
documentation, a new stream is added like this:
curl -XPOST 'http://localhost:9000/api/v1/stream/add' -d '{
"key": "sensor",
"value": {
"camera_id": "uniqueSensorID1",
"camera_name": "front_door",
"camera_url": "file:///opt/nvidia/deepstream/deepstream/samples/streams/sample_1080p_h264.mp4",
"change": "camera_add",
"metadata": {
"resolution": "1920 x1080",
"codec": "h264",
"framerate": 30
}
},
"headers": {
"source": "vst",
"created_at": "2021-06-01T14:34:13.417Z"
}
}'
Downstream in the nvmsgconv
, I have access to frame_meta->source_id
which appears to be an integer. My question is, how can I access camera_id
or camera_name
? I would like to output this information as part of the message.