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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/147681/image.png)
Now, I want to track these corner points in each frame.
댓글 수: 0
답변 (1개)
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
2015년 3월 10일
Just log the (x,y) coordinates to an array or file each time you get a new set.
참고 항목
카테고리
Help Center 및 File Exchange에서 Feature Detection and Extraction에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!