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 ??

Hi,

You can find useful information in this topic:
https://devtalk.nvidia.com/default/topic/1058661/deepstream-sdk/nvinfer-is-not-populating-confidence-field-in-nvdsobjectmeta-ds-4-0-/

And a change in the comment#12.

Thanks.