Retreive the output of classification model

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) Jetson
• DeepStream Version 6.2
• JetPack Version (valid for Jetson only) 5.1
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
I am working on a deepstream pipeline with a object detection model followed by tracker and classifier. Object detection model will detect the Retail items, tracker will assign the tracking id, and classifier will further classify it to a sub category like pepsi, diet-pepsi or any other.

The issue I am facing is
For example there are two objects detected by object detection model as Item1, and Item2 (here 1 and 2 is tracker id) and classifier classified both object into subcategory, but I want get the class_id for the item1 assigned by the classifier.

Are you asking for how to get the class id of the obejct?
If so, the class id is in NVIDIA DeepStream SDK API Reference: _NvDsObjectMeta Struct Reference | NVIDIA Docs

I am working with an object detection model that detects a single class, “Retail Item,” and a classifier that assigns subcategories like Coke, Pepsi, and others. Here’s the scenario:

When the object detection model detects two instances of “Retail Item,” the tracker assigns IDs (e.g., 1 and 2) to these instances. Both detected items are then passed to the classifier, which assigns a classification ID to each instance.

My question is: How can I retrieve the classification ID assigned by the classifier specifically to the item with tracking ID 1?

Please refer to NVIDIA DeepStream SDK API Reference: _NvDsObjectMeta Struct Reference | NVIDIA Docs, the class_id and track id (object_id) are all in the same struct.

There is no update from you for a period, assuming this is not an issue anymore. Hence we are closing this topic. If need further support, please open a new one. Thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.