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:
[url]nvinfer is not populating 'confidence' field in NvDsObjectMeta (DS 4.0) - DeepStream SDK - NVIDIA Developer Forums

And a change in the comment#12.

Thanks.