From 22877775da8ef16ad791b66c36b1ed9a2fd0695a Mon Sep 17 00:00:00 2001 From: davidpagnon Date: Mon, 13 Jan 2025 01:11:45 +0100 Subject: [PATCH] stupid mistake --- Pose2Sim/synchronization.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Pose2Sim/synchronization.py b/Pose2Sim/synchronization.py index 1fbd6a38..7fc0775a 100644 --- a/Pose2Sim/synchronization.py +++ b/Pose2Sim/synchronization.py @@ -287,7 +287,7 @@ def update_play(cap, image, slider, frame_to_json, pose_dir, json_dir_name, rect fig.canvas.draw_idle() -def manual_person_selection(vid_or_img_files, cam_names, json_files_names_range, search_around_frames, pose_dir, json_dirs_names): +def select_person(vid_or_img_files, cam_names, json_files_names_range, search_around_frames, pose_dir, json_dirs_names): ''' Allows the user to select a person from each camera by clicking on their bounding box in the video frames. @@ -689,7 +689,7 @@ def synchronize_cams_all(config_dict): # Handle manual selection if multi person is True if not multi_person: - selected_id_list = manual_person_selection(multi_person, vid_or_img_files, cam_names, cam_nb, json_files_names_range, search_around_frames, pose_dir, json_dirs_names) + selected_id_list = select_person(vid_or_img_files, cam_names, json_files_names_range, search_around_frames, pose_dir, json_dirs_names) else: selected_id_list = [None] * cam_nb