norfair icon indicating copy to clipboard operation
norfair copied to clipboard

bounding box from tracked object

Open nikky4D opened this issue 2 years ago • 1 comments

I have detections that have returned bounding boxes. I can run the tracker with centroids. However, I would need to still get out the new locations of the tracked bounding boxes.

I find that using bounding boxes performs worse than using centroids on my dataset. So is there a way I can update the bounding boxes using the tracking information? Concretely, can I pass in the box centroids (which does better than extrema points) as input to the tracker, while adding in bounding boxes as Data parameter for Detection object and , then update the Data parameter with tracker location? How would I pull out the vector that updates the location and apply that to the data parameters?

nikky4D avatar Jul 05 '22 18:07 nikky4D

Hi @nikky4D!

I didn't completely get the information you'd want to update in the data parameter. If you are tracking centroids, what should the bounding box's dimensions be after an update? Should it remain the same as the original? Because in my experience, bounding boxes change their shape over time, which is also tracked when updating the Tracker object.

facundo-lezama avatar Jul 25 '22 12:07 facundo-lezama