Extract the labels of objects infered be secondary classifier like car color and make etc

How i can cast the object to record the labels by secondary classifiers in deep-stream application? is it done using NvDsAttribInfo.cast?

1 are you using c++ or python apps?
2.pls share your setup with us

I sorted out this issue, but facing one more issue seek your suggestions on it.
Issue: My secondary classifier is mask classification model on face, but it outputs always only first entry of label.txt file. Checked the tlt model which is working fine on testing images, later converted to etlt and using it as secondary model. where i am making mistake

Cool, pls create a new topic for your new issue, we would like to use one topic to track one issue.