I want to change the message transformed to nvmsgbroker after classfied nvinfer plugin. I just send several simple values to kafka. I do not know how to deal it. I try to make some changes in the file nvmsgconv.cpp. But I do not know which function is passed, So, I add this line
g_print (“XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX”);
at the function generate_deepstream_message_minimal, and this line
g_print (“YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY”);
at the function generate_schema_message.
But there is no any echo, even with any value (0/1) for the parameter --schema (-s).
So, where should I make the change?
ps. there is a compile error,
nvmsgconv.cpp:834:13: error: ‘json_to_string’ was not declared in this scope; did you mean ‘g_icon_to_string’?
- 834 | message = json_to_string (rootNode, TRUE);*
What wrong with it? How to deal with it?
Thanks.