Jetson-inference objects instance changes

hello, When a new object appears on the screen, the instance changes.
I’m working on object counting.
But the instance of the object has changed and cannot be done
Isn’t there a way to make the oldest object zero instance?

Hi barco105qslb9, detectNet doesn’t perform instance matching from frame-to-frame. It is a similar problem to face detection vs. multi-stage face recognition. After detection, typically one would perform some kind of pixel- or feature-based matching on the region-of-interest (ROI). In some techniques the features generated by the encoder portion of the network are cached in a database and compared/matched against new detections.