How can I track the upper corners of the bounding box.

1 次查看(过去 30 天)
I'm trying to track the hand region. As it seems suitable for me I want to track the upper corners of the bounding box in each frames. I've found the corners and marked it with blue.
Now, I want to track these corner points in each frame.

回答(1 个)

Image Analyst
Image Analyst 2015-3-10
regionprops() will give you the bounding box.
measurements = regionprops(labeledImage, 'BoundingBox');
BoundingBox is a member/field of the measurements structure. See my Image Segmentation Tutorial if you need a demo: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
  3 个评论
Image Analyst
Image Analyst 2015-3-10
Just log the (x,y) coordinates to an array or file each time you get a new set.
Nafeesath Musfira
Nafeesath Musfira 2015-3-11
But do I need to use some specific tracking algorithm or can i just work with this coordinates for classification?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Feature Detection and Extraction 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by