Distance between the legs of a person in an image

3 Ansichten (letzte 30 Tage)
Ambarish Ravindran
Ambarish Ravindran am 30 Apr. 2015
Beantwortet: Dima Lisin am 11 Mai 2015
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!

Antworten (1)

Dima Lisin
Dima Lisin am 11 Mai 2015
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.

Community Treasure Hunt

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

Start Hunting!

Translated by