Changes in default json format created by generate_event_message_minimal

NVIDIA-SMI 525.105.17 Driver Version: 525.105.17 CUDA Version: 12.0
deepstream-6.2

{
“version” : “4.0”,
“id” : “2197”,
@timestamp” : “2023-06-08T08:29:24.927Z”,
“sensorId” : “cam0”,
“objects” : [
“0|1232.87|153.384|1384.16|364.948|jet_bridge_disconnected”,
“2|844.068|172.347|1094.17|535.746|airplane_front”
]
}

in above format , i want to add specifically description variable by fetching from dstest5_msgconv_sample_config.txt ,
for that what changes needs to be done in generate_event_message_minimal function of eventmsg_payload.cpp

output should looks like this
{
“version” : “4.0”,
“id” : “2197”,
@timestamp” : “2023-06-08T08:29:24.927Z”,
“sensorId” : “cam0”,
“Description”:‘Aisle Camera’
‘location’:45.293701447;-75.8303914499;48.1557479338

“objects” : [
“0|1232.87|153.384|1384.16|364.948|jet_bridge_disconnected”,
“2|844.068|172.347|1094.17|535.746|airplane_front”
]
}

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks

nvmsgconv plugin and low level lib are opensource, you can modify nvmsgconv.cpp in deepstream sdk, after modifying, you need to rebuild the code and replace the old lib.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.