Ask Your Question

saip's profile - activity

2020-06-24 02:58:28 -0600 received badge  Famous Question (source)
2019-04-21 01:19:31 -0600 received badge  Notable Question (source)
2019-01-25 02:29:02 -0600 received badge  Popular Question (source)
2017-04-15 09:45:33 -0600 asked a question How to delete an object from Multitracker ?

I am working with the multitracker to track some objects.

std::string trackingAlg = "KCF";
MultiTracker trackers(trackingAlg);

I am using background subtraction technique to find the object contours and track the objects using

trackers.update(frame);

In the process, I would like to delete some objects from the trackers or update the bounding box of some objects.

I have tried something like this (as shown below) to update the object contours, but was not successful

 trackers.objects[i] = newBound_box[i];

Could anyone suggest how to

  1. delete objects from trackers
  2. update the bounding box (not by trackers.update(frame) but by manual bounding box values) ?

Thank you for your time!