GstNvTracker does not have property `enable_past_frame' nor 'enable_batch_process'

I am upgrading my application from DeepStream 6.2 to DeepStream 7.0. I am using the official Docker container and a Tesla T4.

I had two errors when initializing the tracker:

TypeError: object of type `GstNvTracker' does not have property 'enable_past_frame'
TypeError: object of type `GstNvTracker' does not have property 'enable_batch_process'

Based on the error, I understand that the two properties have been removed.

What is their default value?

I want to enable batch process, but I don’t need the past frame information.

Code:

import gi
gi.require_version("Gst", "1.0")
gi.require_version("GstRtspServer", "1.0")
from gi.repository import Gst, GObject

GObject.threads_init()
Gst.init(None)
tracker = Gst.ElementFactory.make("nvtracker", "tracker")
tracker.set_property('enable_batch_process', 1)
tracker.set_property('enable_past_frame', 0)

Note that the code was working fine in DeepStream 6.2.

Hello,

Maybe @Fiona.Chen knows the answer?

Thank you!

The Gst-nvtracker plugin works in the batch processing mode by default. The latest also support sub-batching: Gst-nvtracker — DeepStream documentation 6.4 documentation
Regarding output past-frame, please refer here: Gst-nvtracker — DeepStream documentation 6.4 documentation

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. Thanks

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