DS-4.0 unable to get object confidence values

I am using deepstream_infer_tensor_meta_test sample with custom bbox parser, In NvDsObjectMeta I am able to get all values except confidence scores.

conf = obj_meta -> confidence;

it outputs “conf = 0.0”.

But in custom parser I am able to get “object.detectionConfidence” scores correctly.

How can I get confidence score in deepstream_infer_tensor_meta_test.cpp ??


You can find useful information in this topic:

And a change in the comment#12.