• Hardware Platform (Jetson / GPU) : Jetson
• DeepStream Version : 7.1
• JetPack Version (valid for Jetson only) : 6.2
• TensorRT Version : 10.3.0.30
Hi, I am using deepstream 7.1 with python apps, where i altered the pipeline to add tracking algorithm
tracker = Gst.ElementFactory.make("nvtracker", "tracker")
if not tracker:
sys.stderr.write(" Unable to create tracker \n")
#Set properties of tracker
config = configparser.ConfigParser()
config.read('dstest2_tracker_config.txt')
config.sections()
for key in config['tracker']:
if key == 'tracker-width' :
tracker_width = config.getint('tracker', key)
tracker.set_property('tracker-width', tracker_width)
if key == 'tracker-height' :
tracker_height = config.getint('tracker', key)
tracker.set_property('tracker-height', tracker_height)
if key == 'gpu-id' :
tracker_gpu_id = config.getint('tracker', key)
tracker.set_property('gpu_id', tracker_gpu_id)
if key == 'll-lib-file' :
tracker_ll_lib_file = config.get('tracker', key)
tracker.set_property('ll-lib-file', tracker_ll_lib_file)
if key == 'll-config-file' :
tracker_ll_config_file = config.get('tracker', key)
tracker.set_property('ll-config-file', tracker_ll_config_file)
#for linking the tracker in the pipeline -
streammux.link(pgie)
pgie.link(tracker)
tracker.link(nvvidconv1)
In the tracker config file, it is mentioned that the NvDCF
tracker is using, I am trying to get a flag for all the objects if it is moved out of the frame or not, for that, deepstream defined a term called “shadowTracking”, based on the confidence value generated from the tracking algorithm. I will assume, that if the tracker_confidence is less than a threshold, then i will consider that the object is moved out of the frame.
But when I accessed the tracker confidence from the obj_meta.tracker_confidence
from class pyds.NvDsObjectMeta
, I get 0 for all the objects.
Could you please help me on how to get the tracker confidence score.
And also, In the config file, the lib file is used /opt/nvidia/deepstream/deepstream/lib/libnvds_nvmultiobjecttracker.so
for NvDCF tracker,
I planned to use NvSORT, NvDeepSORT, KLT and IOU for that, when I checked the lib files in /opt/nvidia/deepstream/deepstream/lib/
folder, it is not found, could you please help me on where to find these tracker lib files.
thanks