robotology / assistive-rehab

Assistive and Rehabilitative Robotics
https://robotology.github.io/assistive-rehab/doc/mkdocs/site
BSD 3-Clause "New" or "Revised" License
21 stars 11 forks source link

Evaluate the foot keypoint estimation provided by openPose #179

Closed vvasco closed 5 years ago

vvasco commented 5 years ago

Computing the range of motion of the ankle requires the estimation of the foot keypoint. The version of openPose we are currently using does not include feet estimation. Foot estimation is now available in openPose and we want to evaluate it in order to include it in the motion analysis.

vvasco commented 5 years ago

Foot keypoints provided by openPose are:

The following figure shows the output of openPose for a person walking towards right. Segments connecting Ankle-Heel and Ankle-BigToe are highlighted for left and right foot. When one foot is occluded by the other, keypoints are missed (this occurs for the left foot), but we can cope with this within our framework. For validating this, I computed the range of motion for left and right foot between the vector formed by ankle and big toe and an horizontal reference direction centered on the ankle.

The range of motion has the expected trend, coherent with what reported in literature.

pattacini commented 5 years ago

It may be beneficial to drop in here an archive containing the scripts used for this analysis.

vvasco commented 5 years ago

Here it is: visualize_2d_foot.zip