Download landmark_definitions.py from carsten12/BodyScan: direct link, hf CLI and curl.
- Browser
- Download file 393 Bytes
-
https://huggingface.co/spaces/carsten12/BodyScan/resolve/main/landmark_definitions.py
- Command line
-
hf download hf://spaces/carsten12/BodyScan/landmark_definitions.py
-
curl -L -o landmark_definitions.py https://huggingface.co/spaces/carsten12/BodyScan/resolve/main/landmark_definitions.py
393 Bytes
| # landmark_definitions.py | |
| class SMPLLandmarks: | |
| head_top = 333 # index of top-of-head vertex | |
| neck = 247 # base of neck | |
| L_shoulder = 271 | |
| R_shoulder = 378 | |
| L_elbow = 308 | |
| R_elbow = 319 | |
| L_wrist = 373 | |
| R_wrist = 287 | |
| waist_mid = 17 | |
| chest_mid = 44 | |
| hip_mid = 19 | |
| foot_floor = 11 | |
| # Add other landmark indices as needed for measurement definitions | |