Is there any way in matlab to increase the size of bounding box as object grows in the live video

2 vues (au cours des 30 derniers jours)
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 commentaire
Image Analyst
Image Analyst le 30 Mai 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?

Connectez-vous pour commenter.

Réponse acceptée

Walter Roberson
Walter Roberson le 30 Mai 2015
  2 commentaires
nikita rane
nikita rane le 31 Mai 2015
thnk you so much for your valuable rply i did it. but now i want to raise alarm if bounding box is increasing in size i am not getting it how to write condition for it ca you help me ??
Image Analyst
Image Analyst le 31 Mai 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....

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Computer Vision with Simulink dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by