Hi all,

I am working on a tracking task of more than 100 objects at the same time.
The ObjectTracker node can only track 60 objects. Is it possible that I can use 2 objectTracker nodes such that each tracker is responsible for different objects to track ?
First tests of 2 objectTrackers showed that both trackers track the same objectss and there is no function or feature during the node creation that is able to associate distinct objects to each Tracker node.
I just need to know if this solution can be done or not

Thank you very much for your support.

    Hi MahdiMseddi

    MahdiMseddi Is it possible that I can use 2 objectTracker nodes such that each tracker is responsible for different objects to track ?

    If you have detections that target two different sets of objects, then feed these detections into 2 object trackers. You can separately track multiple objects.

    In theory, 100 object this way could work, but i have not tested it. It might rely on the same principles as a single object tracker and might still crash if more than 60 are present.

    Thanks,
    Jaka

      jakaskerl

      Thank you for your reply.
      In my case, I have only one class of objects track. I am trying to use 2 object trackers only because the number of objects to track is higher than 60 and with one tracker the code crashes. I want to split the objects in the scene into the 2 object trackers to avoid tracking/counting the same object more than one time.

      Thank you very much and best regards

        Hi MahdiMseddi
        If you feed two trackers the same features, they will both track the same ones. The only workaround is, as I've said, to find a way to split those features.

        Thanks,
        Jaka

          8 days later

          jakaskerl @erik

          Hi all , Thank you very much for your help and support. I implemented the method suggested by Erik: using a script node in order to split the detections list into left-detections and right-detections and it is working and I can track 120 objects at the same time. I just wanted to mention that the solution is working but the FPS value dropped from 28-30 FPS using a single objecttracker to 12-14 FPS using 2 trackers.
          Thank you very much.

          • erik replied to this.

            Hi MahdiMseddi ,
            It's great to hear that it's working now! Unfortunately, that would be expected, as resources are split between the 2 nodes, and it looks like the tracker was the bottleneck already (at 30fps).