Is there any way in matlab to increase the size of bounding box as object grows in the live video
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
nikita rane
il 30 Mag 2015
Commentato: Image Analyst
il 31 Mag 2015
I am using bounding box for color detection in live video.i want to increase the size of bounding box as the red color object increases in size is there any such method??
1 Commento
Image Analyst
il 30 Mag 2015
What is your bounding box? Is that an ROI that you examine before you've found your color region? Or is that the bounding box of the color region after you've found it?
Risposta accettata
Walter Roberson
il 30 Mag 2015
See http://www.mathworks.com/help/vision/examples/motion-based-multiple-object-tracking.html if you are using the Vision toolbox.
2 Commenti
Image Analyst
il 31 Mag 2015
Check the width and height of the current bounding box against the size of the old bounding box:
if bbCurrent(3) > bbPrior(3) || bbCurrent(4) > bbPrior(4)
% Box got bigger....
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Computer Vision with Simulink in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!