Kalman filter and bounding box tracking
조회 수: 14 (최근 30일)
이전 댓글 표시
Hi all! I hope that someone can help me with that!
I have a video that shows a face. Firstly, I detect the region of the eye from a face. The detection gives me a boundind box with [x,y,height,widht] coordinates. So now, i need KALMAN filter to track this bounding box.
Is it possible with kalman or should i use another tracker? Also i need this tracker to be in real time.
Thanks in advance!
댓글 수: 0
채택된 답변
Erik S.
2015년 2월 9일
Hi,
Do you have computer vision toolbox?
There is vision.KalmanFilter method there you can use.
댓글 수: 0
추가 답변 (2개)
Dima Lisin
2015년 2월 9일
편집: Dima Lisin
2015년 2월 9일
The easiest way to use the Kalman filter is to track the centroid of the eye. If bbox is your bounding box, then you can compute the centroid as bbox(1,2) + bbox(3,4) / 2. Please see the Using Kalman Filter for Object Tracking example for how to track a single object. For tracking multiple objects using the Kalman filter, see the Motion-Based Multiple Object Tracking example.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Processing and Computer Vision에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!