I would like to add a custom object to the tracker. The object will not be detected by nvinfer. I can inject it using a probe, but the object is killed by tracker if the age is exceeding the value set in the configuration file.
I could increase
earlyTerminationAge but that doesn’t seem to prevent the object from being killed and also I don’t even want to increase the value, since this would affect all other obejcts as well.
maxShadowTrackingAge: 100 # Max length of shadow tracking (the shadow tracking age is incremented when (1) there's detector input yet no match or (2) tracker confidence is lower than minTrackerConfidence). Once reached, the tracker will be terminated.
probationAge: 1 # Once the tracker age (incremented at every frame) reaches this, the tracker is considered to be valid
earlyTerminationAge: 100 # Early termination age (in terms of shadow tracking age) during the probation period. If reached during the probation period, the tracker will be terminated prematurely.
My idea for a workaround was to reset the age of that particular object to 0 to keep it alive.
Or is there a better way to do this?