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

조회 수: 2 (최근 30일)
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
Image Analyst
Image Analyst 2015년 5월 30일
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?

댓글을 달려면 로그인하십시오.

채택된 답변

Walter Roberson
Walter Roberson 2015년 5월 30일
  댓글 수: 2
nikita rane
nikita rane 2015년 5월 31일
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 2015년 5월 31일
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....

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Computer Vision with Simulink에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by