How can I track the upper corners of the bounding box.
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (1)
Image Analyst
el 10 de Mzo. de 2015
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 comentarios
Image Analyst
el 10 de Mzo. de 2015
Just log the (x,y) coordinates to an array or file each time you get a new set.
Ver también
Categorías
Más información sobre Feature Detection and Extraction en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!