Skip to content

Commit

Permalink
Added new measurement definitions.
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidBoja committed Nov 5, 2024
1 parent bde9bb9 commit a5fa867
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
12 changes: 11 additions & 1 deletion landmark_definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,17 @@
"LOW_LEFT_HIP": 3134,
"LEFT_THIGH": 947,
"LEFT_CALF": 1103,
"LEFT_ANKLE": 3325
"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"],
Expand Down
5 changes: 5 additions & 0 deletions measurement_definitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ class MeasurementType():
"calf left circumference": MeasurementType.CIRCUMFERENCE,
"ankle left circumference": MeasurementType.CIRCUMFERENCE,
"shoulder breadth": MeasurementType.LENGTH,

"arm length (shoulder to elbow)": MeasurementType.LENGTH,
"arm length (spine to wrist)": MeasurementType.LENGTH,
"crotch height": MeasurementType.LENGTH,
"Hip circumference max height": MeasurementType.LENGTH,
}

class SMPLMeasurementDefinitions():
Expand Down

0 comments on commit a5fa867

Please sign in to comment.