diff --git a/Pose2Sim/personAssociation.py b/Pose2Sim/personAssociation.py index fcfa93f..62cf4c2 100644 --- a/Pose2Sim/personAssociation.py +++ b/Pose2Sim/personAssociation.py @@ -247,7 +247,7 @@ def track_2d_all(config): pose_model = config.get('pose').get('pose_model') tracked_keypoint = config.get('personAssociation').get('tracked_keypoint') frame_range = config.get('project').get('frame_range') - tracked_keypoint = config.get('triangulation').get('undistort_points') + undistort_points = config.get('triangulation').get('undistort_points') calib_dir = [os.path.join(session_dir, c) for c in os.listdir(session_dir) if ('Calib' or 'calib') in c][0] calib_file = glob.glob(os.path.join(calib_dir, '*.toml'))[0] # lastly created calibration file