MATLAB: Define new tracking box

Computer Vision Toolboxtracking

Hi, I detect my circle like the picture in attachment. I want to track the center of my circle (I already succed to track the center and add the marker) but I want that my trackingbox is the circle like in this link https://fr.mathworks.com/help/vision/examples/motion-based-multiple-object-tracking.html where trackingbox is a rectangle around the people. I want to do this because I would like to differtiate the 2 circles when they are stacked.
Thanks for your help

Best Answer

So just use viscircles() to plot the circle over the image and rectangle() to plot the box.
Related Question