Define new tracking box

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

 Risposta accettata

Image Analyst
Image Analyst il 29 Ago 2017

0 voti

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

Più risposte (1)

Jan
Jan il 29 Ago 2017

0 voti

1 Commento

Arnaud Tullio
Arnaud Tullio il 29 Ago 2017
I already use this to define my circle but now I would like to define the box of the track by this circle.I don't know if it's possible to do that. I mean define the circle as the "environment" of the cercle. Because in my case I juste define the center of my circle as the tracking point but when I stack the 2 markers the tracking Bug because they have the same "color"...

Accedi per commentare.

Categorie

Scopri di più su Image Processing and Computer Vision in Centro assistenza e File Exchange

Tag

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by