Skip to content

Commit

Permalink
forgot framerate parameter in the trc meters file
Browse files Browse the repository at this point in the history
  • Loading branch information
davidpagnon committed Dec 20, 2024
1 parent dac6f19 commit a38f7bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Sports2D/Sports2D.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ def process(config='Config_demo.toml'):

process_fun(config_dict, video_file, time_range, frame_rate, result_dir)

elapsed_time = (datetime.now() - currentDateAndTime).total_seconds()
elapsed_time = (datetime.now() - currentDateAndTime).total_seconds()
logging.info(f'\nProcessing {video_file} took {elapsed_time:.2f} s.')

logging.shutdown()
Expand Down
2 changes: 1 addition & 1 deletion Sports2D/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -1776,7 +1776,7 @@ def process_fun(config_dict, video_file, time_range, frame_rate, result_dir):
# Write to trc file
idx_path = selected_person_id if not multiperson and not calib_file else i
pose_path_person_m_i = (pose_output_path.parent / (pose_output_path_m.stem + f'_person{idx_path:02d}.trc'))
make_trc_with_trc_data(trc_data_m_i, pose_path_person_m_i)
make_trc_with_trc_data(trc_data_m_i, pose_path_person_m_i, fps=fps)
logging.info(f'Person {idx_path}: Pose in meters saved to {pose_path_person_m_i.resolve()}.')


Expand Down

0 comments on commit a38f7bc

Please sign in to comment.