IDEA-Research / DWPose

"Effective Whole-body Pose Estimation with Two-stages Distillation" (ICCV 2023, CV4Metaverse Workshop)
Apache License 2.0
2.16k stars 141 forks source link

[Feet Drawing] How could I draw the Feet? #93

Open arctan90 opened 1 month ago

arctan90 commented 1 month ago

I walked through the code to find 'feet keypoints' showed bellow: https://github.com/IDEA-Research/DWPose/blob/3dca5db79d9f9ffdd378753ddf6ec66535aace88/ControlNet-v1-1-nightly/annotator/dwpose/__init__.py#L58

But I could not find any method drawing the feet...

drawing body, hands, face here

Is there anyone could kindly help me out of this issue. I don't know how to define 'edges' (like in draw_handpose ) for feet, or maybe I can draw feet by draw_handpose?

Dimlife commented 1 month ago

Hi, hope everything is fine for you. I am also working on the foot issue, and luckily i find some other repos that have the foot draw code at here: https://github.com/novitalabs/AnimateAnyone/blob/ee2cf9e7d2a4d8aea33152624ffee239d1705c8d/src/dwpose/__init__.py#L35 which might solve your problem.