Skip to content

Commit d1468b9

Browse files
committed
wrong unit in compute_height (cm -> m)
1 parent 5aea036 commit d1468b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sports2D/Utilities/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ def compute_height(trc_data, keypoints_names, fastest_frames_to_remove_percent=0
547547
try:
548548
rfoot, lfoot = [euclidean_distance(trc_data_low_speeds_low_angles[pair[0]],trc_data_low_speeds_low_angles[pair[1]]) for pair in feet_pairs]
549549
except:
550-
rfoot, lfoot = 10, 10
550+
rfoot, lfoot = 0.10, 0.10
551551
logging.warning('The Heel marker is missing from your model. Considering Foot to Heel size as 10 cm.')
552552

553553
ankle_to_shoulder_pairs = [['RAnkle', 'RKnee'], ['RKnee', 'RHip'], ['RHip', 'RShoulder'],

0 commit comments

Comments
 (0)