HI
Sorry for late reply,
We do not have sample code,
In NvMOTTrackedObj of the tracker metadata, there’s a field called age . For each object, the age value of the last tracking data would indicate how long it has been tracked. age is the number of frames an object is being tracked.