lschmidtke / shape_templates

code from cvpr 2021 paper 'Unsupervised Human Pose Estimation through Transforming Shape Templates'
https://infantmotion.github.io/
MIT License
32 stars 8 forks source link

How to create a template and anchor points? #5

Closed aoikaneko closed 2 years ago

aoikaneko commented 2 years ago

Hi, thanks for the great work. I have a question regarding template.json and anchor_points.json. How center points and variances (template.json) and anchor point coordinates (anchor_points.json) are obtained? Also, how did you define the number of anchor points for each body part?

lschmidtke commented 2 years ago

Hi,

the parameters in the json were defined by hand. We simply selected the ones that resembled a reasonable, average human body. The anchor points resemble the joints that are used in pose estimation papers we compare to, but you can define them differently. Ie. you could model the shoulder as one part connected to the core, with three anchor points: one in the middle and two on each side connecting to arms.

Hope that answers your question!

aoikaneko commented 2 years ago

Thank you for your helpful answer!