Mk1443 commited on
Commit
764d13f
·
verified ·
1 Parent(s): 7d84eee

Update calculations.py

Browse files
Files changed (1) hide show
  1. calculations.py +3 -4
calculations.py CHANGED
@@ -88,12 +88,11 @@ def measure_body_sizes(side_colored_mask, front_colored_mask, sideposes, frontpo
88
 
89
  # Convert pixel measurements to real measurements using the height ratio
90
  measurements.append({
91
- "shoulder_width_cm": shoulder_width_cm,
92
- "leg_length_cm": leg_length_cm,
93
  "arm_length_cm": arm_length_cm,
94
  "shoulder_to_waist_cm": shoulder_to_waist_cm,
95
- "height_cm": real_height_cm,
96
- "waist_circumference_cm": waist_circumference_cm
97
  })
98
 
99
  return measurements
 
88
 
89
  # Convert pixel measurements to real measurements using the height ratio
90
  measurements.append({
91
+ "height_cm": real_height_cm,
 
92
  "arm_length_cm": arm_length_cm,
93
  "shoulder_to_waist_cm": shoulder_to_waist_cm,
94
+ "shoulder_width_cm": shoulder_width_cm,
95
+ "leg_length_cm": leg_length_cm,
96
  })
97
 
98
  return measurements