Reset nvDsAnalytics counters and nvTracker counter, Python

Please provide complete information as applicable to your setup.

**• Hardware Platform ** Jetson
• DeepStream Version 5.0.1
**• JetPack Version ** 4.4.1
• TensorRT Version 7.1
**• Issue Type ** Question
**• Requirement details ** How to reset the counters of nvAnalytics and Trackers

I am using the nvDCF tracker aswell as nvDsAnalytics plugins in Deepstream Python application

In terms of the tracker how would we be able to “reset” its counter, Like each day it would be nice for the counter to start back at 0.

The same kind of reset would be great for analytics such as line crossings and such.

I have tried to find resources about this but seem to have come up short

This we dont support on current DS release, user might need to maintain its own count in the app as of now. This can be later added as a property to reset the count in the plugin

Similar topic here Few questions on NVDSANALYTICS

Thank you,

I assume the same is true for the tracker?

As for the workaround, do we actually modify the id of the meta_data or do we just modify the display_meta Text

I would suggest to modify the meta_data

Okay I will give it a try.

Most of the examples use a pad probe on the tiler/osd , should we modify it here or add a probe to analytics or tracker Elements

You can add probe on any element based on your requirment