-
Notifications
You must be signed in to change notification settings - Fork 22
/
landmark_definitions.py
69 lines (60 loc) · 2.57 KB
/
landmark_definitions.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
SMPL_LANDMARK_INDICES = {"HEAD_TOP": 412,
"HEAD_LEFT_TEMPLE": 166,
"NECK_ADAM_APPLE": 3050,
"LEFT_HEEL": 3458,
"RIGHT_HEEL": 6858,
"LEFT_NIPPLE": 3042,
"RIGHT_NIPPLE": 6489,
"SHOULDER_TOP": 3068,
"INSEAM_POINT": 3149,
"BELLY_BUTTON": 3501,
"BACK_BELLY_BUTTON": 3022,
"CROTCH": 1210,
"PUBIC_BONE": 3145,
"RIGHT_WRIST": 5559,
"LEFT_WRIST": 2241,
"RIGHT_BICEP": 4855,
"RIGHT_FOREARM": 5197,
"LEFT_SHOULDER": 3011,
"RIGHT_SHOULDER": 6470,
"LOW_LEFT_HIP": 3134,
"LEFT_THIGH": 947,
"LEFT_CALF": 1103,
"LEFT_ANKLE": 3325,
"LEFT_ELBOW": 1643,
"BUTTHOLE": 3119,
# introduce CAESAR landmarks because
# i need to measure arms in parts
"Cervicale": 829,
'Rt. Acromion': 5342,
'Rt. Humeral Lateral Epicn': 5090,
'Rt. Ulnar Styloid': 5520,
}
SMPL_LANDMARK_INDICES["HEELS"] = (SMPL_LANDMARK_INDICES["LEFT_HEEL"],
SMPL_LANDMARK_INDICES["RIGHT_HEEL"])
SMPLX_LANDMARK_INDICES = {"HEAD_TOP": 8976,
"HEAD_LEFT_TEMPLE": 1980,
"NECK_ADAM_APPLE": 8940,
"LEFT_HEEL": 8847,
"RIGHT_HEEL": 8635,
"LEFT_NIPPLE": 3572,
"RIGHT_NIPPLE": 8340,
"SHOULDER_TOP": 5616,
"INSEAM_POINT": 5601,
"BELLY_BUTTON": 5939,
"BACK_BELLY_BUTTON": 5941,
"CROTCH": 3797,
"PUBIC_BONE": 5949,
"RIGHT_WRIST": 7449,
"LEFT_WRIST": 4823,
"RIGHT_BICEP": 6788,
"RIGHT_FOREARM": 7266,
"LEFT_SHOULDER": 4442,
"RIGHT_SHOULDER": 7218,
"LOW_LEFT_HIP": 4112,
"LEFT_THIGH": 3577,
"LEFT_CALF": 3732,
"LEFT_ANKLE": 5880
}
SMPLX_LANDMARK_INDICES["HEELS"] = (SMPLX_LANDMARK_INDICES["LEFT_HEEL"],
SMPLX_LANDMARK_INDICES["RIGHT_HEEL"])