Is it possible to open tracker source code developers to add custom data in tracker struct?

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
• DeepStream Version
• JetPack Version (valid for Jetson only)
no jetpack
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
Is it possible to opensource tracker source code developers to add custom data in tracker struct?

• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

Is it possible to open tracker source code developers to add custom data, such as now only nvdstracker.h, there is no corresponding nvdstracker .cpp file?

in nvdstracker.h
typedef struct _NvMOTTrackedObj
/** Holds the class ID of the object to be tracked. /
uint16_t classId;
* Holds a unique ID for the object, assigned by the tracker. /
uint64_t trackingId;
* Holds the bounding box. /
NvMOTRect bbox;
* Holds the tracking confidence of the object. /
float confidence;
* Holds the track length in frames. /
uint32_t age;
* Holds a pointer to the associated input object, if there is one. */
NvMOTObjToTrack *associatedObjectIn;
uint8_t reserved[128];
} NvMOT,

I want to add a counter such as 'gint unmove_times ’ to also determine whether an object is stationary or not 。 When traversing trackers, the value of this counter is updated by determining whether the position of the object has changed,

Is it possible to decide unmove_times in the application based on the output meta data of tracker?

this is a good idea,after each detection or update the tracked target bbox ID, obtain the corresponding tracked target bbox id, store it and it’s x,y,width,height in the container, and then determine the state of the target location movement through the target id and it’s location. But how could i get the output meta data of tracker? is there any doc ?

Can I do this through this functions in deepstream-test5-app file? I want to get the target boxes that don’t move more than the set threshold and send them out through kafka

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.

Yes. Here is the meta data document: NvDsMeta — Deepstream Deepstream Version: 6.1.1 documentation (

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