Distance between the legs of a person in an image

1 次查看(过去 30 天)
Hola everyone!!
I am looking to find the distance between the legs of a football player in a frame so that I can use it for consecutive frames to analyze his movement. Please help me out. Thank you in advance!

回答(1 个)

Dima Lisin
Dima Lisin 2015-5-11
If you get a reasonably good segmentation of the player, you can use regionprops to get a tight bounding box around the figure. The width of the box may be a good approximation to the distance between the legs. If the player has his arms outstretched, then this method will not work so well. You can then try using morphology to erase the arms.

类别

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