From 8b0b93d62834073dde8c3d044bf6b3259d7f1cf6 Mon Sep 17 00:00:00 2001 From: David PAGNON Date: Fri, 26 Jan 2024 23:30:42 +0100 Subject: [PATCH] typo --- Sports2D/detect_pose.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Sports2D/detect_pose.py b/Sports2D/detect_pose.py index 7d1aabd..492b5d7 100644 --- a/Sports2D/detect_pose.py +++ b/Sports2D/detect_pose.py @@ -301,10 +301,6 @@ def json_to_csv(json_path, frame_rate, pose_model, interp_gap_smaller_than, filt keypt = np.array(keypt) # Make sure keypt is as large as the number of persons that need to be detected if len(keypt) < nb_persons_to_detect: - # print('\n') - # print(nb_persons_to_detect) - # print(len(keypt)) - # print(repr(keypt)) empty_keypt_to_add = np.concatenate( [[ np.zeros([keypoints_nb,3]) ]] * (nb_persons_to_detect-len(keypt)) ) keypt = [np.concatenate([keypt, empty_keypt_to_add]) if list(keypt)!=[] else empty_keypt_to_add][0] if 'keyptpre' not in locals():