You can refer to our source code sources\apps\sample_apps\deepstream-test5\configs\test5_config_file_nvmultiurisrcbin_src_list_attr_all.txt to learn how to configure the MsgConvBroker sink.
Hi @yuweiw
I have tried to apply that config, but when detection there is NO event was sent.
I have check deepstream-app source code and see below function do NOT generate NvDsEventMsgMeta for every object:
/**
* Callback function to be called once all inferences (Primary + Secondary)
* are done. This is opportunity to modify content of the metadata.
* e.g. Here Person is being replaced with Man/Woman and corresponding counts
* are being maintained. It should be modified according to network classes
* or can be removed altogether if not required.
*/
static void
all_bbox_generated (AppCtx * appCtx, GstBuffer * buf,
NvDsBatchMeta * batch_meta, guint index)
{
guint num_male = 0;
guint num_female = 0;
guint num_objects[128];
...
However, deepstream-test5 source code included Generate NvDsEventMsgMeta for every object at below function:
/**
* Callback function to be called once all inferences (Primary + Secondary)
* are done. This is opportunity to modify content of the metadata.
* e.g. Here Person is being replaced with Man/Woman and corresponding counts
* are being maintained. It should be modified according to network classes
* or can be removed altogether if not required.
*/
static void
bbox_generated_probe_after_analytics (AppCtx * appCtx, GstBuffer * buf,
NvDsBatchMeta * batch_meta, guint index)
{
NvDsObjectMeta *obj_meta = NULL;
GstClockTime buffer_pts = 0;
guint32 stream_id = 0;
Do you think I need to add more code to all_bbox_generated() function at deepstreap-app source code to make MsgBroker work well?