A problem about secondary-gie0 and nvmsgconv

hello
My config is:

This text will be blurred

[sink1]
enable=1
Summary

This text will be hidden

type=6
sync=0
msg-conv-config=dstest4_msgconv_config.txt
msg-conv-payload-type=0
msg-broker-proto-lib=libnvds_kafka_proto.so
msg-broker-conn-str=127.0.0.1;9092;deepstream-data
topic=deepstream-data
msg-broker-config=cfg_kafka.txt

[primary-gie]
enable=1
gpu-id=0
file=/home/nvidia/retrain_detectnet_v2_20191020/resnet18_detectnet_v2.engine
batch-size=1
bbox-border-color0=1;0;0;1
bbox-border-color1=0;1;1;1
bbox-border-color2=0;0;1;1
bbox-border-color3=0;1;0;1
interval=0
gie-unique-id=1
nvbuf-memory-type=0
config-file=config_infer_primary_nano.txt

[secondary-gie0]
enable=1
gpu-id=0
gie-unique-id=2
operate-on-gie-id=1
batch-size=1
config-file=config_infer_secondary_carcolor.txt

Receiving message of kafka is:
{
“id” : “215”,
"classid" : “thing”,
“width” : 1920,
“height” : 1080,
“sourceid” : 0,
“speed” : 0.0,
“direction” : 0.0,
“orientation” : 0.0,
“bbox” : {
“topleftx” : 160,
“toplefty” : 784,
“bottomrightx” : 208,
“bottomrighty” : 812
},
“location” : {
“lat” : 0.0,
“lon” : 0.0,
“alt” : 0.0
},
“coordinate” : {
“x” : 0.0,
“y” : 0.0,
“z” : 0.0
}
}

in fact,my secondary inference is person,but nvmsgconv dont’t send the message.

Hi
I see your secondary nvinfer config used is
config-file=config_infer_secondary_carcolor.txt
if your nvinfer ouptut parsing correctly, you should get person metadata generated, deepstream_test4_app.c::generate_event_msg_meta
I see in your primary group setting, you use model engine
/home/nvidia/retrain_detectnet_v2_20191020/resnet18_detectnet_v2.engine
You may disable it and use default model to see how person object metadata get processed. but for person attributes(sources/libs/nvmsgconv/nvmsgconv.cpp::generate_object_object), your model needs to support, and you may need do classifier parsing and fill related metadata accordingly before it get processed by nvmsgconv plugin.