Skip to content

Commit

Permalink
Synchronization for multi-person (#135)
Browse files Browse the repository at this point in the history
* synchronization for multi-person

* ignore infinite value

* Fix mismatch issue between rect and list of bboxes. But this should clean up

* solved indexing issue

* for more simple and clear

* Clean up v3

---------

Co-authored-by: David PAGNON <[email protected]>
  • Loading branch information
hunminkim98 and davidpagnon authored Oct 22, 2024
1 parent 704d0a6 commit af29439
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Pose2Sim/synchronization.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ def load_frame_and_bounding_boxes(cap, frame_number, frame_to_json, pose_dir, js
return frame_rgb, bounding_boxes_list



def draw_bounding_boxes_and_annotations(ax, bounding_boxes_list, rects, annotations):
'''
Draws the bounding boxes and annotations on the given axes.
Expand Down Expand Up @@ -305,7 +304,6 @@ def get_selected_id_list(multi_person, vid_or_img_files, cam_names, cam_nb, json
OUTPUTS:
- selected_id_list: list of int or None. List of the selected person indices for each camera.
'''

if not multi_person:
return [None] * cam_nb

Expand Down

0 comments on commit af29439

Please sign in to comment.