In my case, I need to monitor all tracked-objects in one frame. Assume I create a pool to store their information. When an object reaches its end, I need to delete it from the pool.
However, I didn’t find a way to get the status of tracked object in ds doc so far.
I think you can take advantage of the object user data. Right after an object is created (usually after the pgie detector), use a gst-pad to attach user data. Customize the user data’s release function to do the notification as you want.
@snapeandcandy thanks for advice. That may be a solution though it is complicated. I still wonder if I can directly get the tracking status since there are existing properties in nvtracker.