How to get [sgie] classifier confidence in python

Hi,
I was trying to get result of classifier from classifier-meta using “classifier_meta.confidence” but not getting success can any one suggest how to get classify object confidence (like object_meta.confidence)

You can refer to sample code, for how to get object confidence value.
sources/apps/sample_apps/deepstream-app/deepstream_app.c::write_kitti_output

I’m using python binding is there any method or sample in python??

for python, you can refer to test4 sample.

In python test app 4 " msg_meta.confidence = obj_meta.confidence" confidence is use for PGIE I want to get for SGIE classifier confidence

The sample just have one primary infer element, if you want to get objects confidence value from secondary infer element, you need to do some customization. you can refer to test2 sample for how to add secondary infer elements.