Skip to content

Commit

Permalink
logging info when pose already detected
Browse files Browse the repository at this point in the history
  • Loading branch information
davidpagnon authored Jun 8, 2023
1 parent 21d49f1 commit 07b3f3e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sports2D/detect_pose.py
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,7 @@ def detect_pose_fun(config_dict):

# Pose detection skipped if load existing json files
if load_pose and len(list(json_path.glob('*')))>0:
logging.info(f'2D joint positions have already been detected. To run the analysis over again from the beginning, set "load_pose" to false in Advanced pose settings.')
pass
else:
logging.info(f'Detecting 2D joint positions with OpenPose model {pose_model}, for {video_file}.')
Expand Down

0 comments on commit 07b3f3e

Please sign in to comment.