DeepStream low-level tracker library

Hi @kesong! Thanks for your quick reply.
Yes. I am trying to use this tracker for ROS node, so the input is an image frame and the bbox information from the ROS topic, so I thought I had to use low-level library. I wanted to use the app as is, but I couldn’t find a clever way to combine the DeepStream library and the ROS node. Is there any way or example to do this?

Update:
I realized the library I was using was wrong. Right now I am using DeepStream 5.1, I included all tracker libraries to my program (libnvds_tracker.so, libnvds_mot_iou.so, libnvds_meta.so, libnvds_mot_klt.so, and libnvds_nvdcf.so) and seems like each library shares the same function name NvMOT_Process and it was conflicting somehow. When I included only libnvds_mot_klt.so to my program, it was running properly with the code here (KLT NvMOT usage - #4 by pshin).

So here, I have two questions

  1. With the KLT tracker running in the example code in the link, I realized the tracker output does not have any tracked object even though we give the input object bbox as 40,40,40,40. Do you have a hunch why this happens?

  2. KLT tracker is running in this example but ultimately I want to use nvdcf tracker. However when I included libnvds_nvdcf.so, and run the same code, it gives an error below:

    OpenCV Error: Unknown error code -49 (Input file is empty) in cvOpenFileStorage, file /home/fangyul/Libraries/opencv-3.4.0/modules/core/src/persistence.cpp, line 4484
    ~~ CLOG[src/modules/NvDCF/NvDCF.cpp, NvDCF() @line 695]: !!![WARNING] Invalid low-level config file is provided. Will go ahead with default values
    
    !![ERROR] No m_colorFormat specified
    An exception occurred. No m_colorFormat specified
    terminate called after throwing an instance of 'std::exception'
      what():  std::exception
    Aborted
    

    Can I know what should I change to use DCF tracker from the example in the link?

Your help would be really appreciated. Thank you!