sports2d 0.8.5__tar.gz → 0.8.6__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {sports2d-0.8.5 → sports2d-0.8.6}/PKG-INFO +1 -1
- {sports2d-0.8.5 → sports2d-0.8.6}/Sports2D/process.py +5 -2
- {sports2d-0.8.5 → sports2d-0.8.6}/sports2d.egg-info/PKG-INFO +1 -1
- {sports2d-0.8.5 → sports2d-0.8.6}/.github/workflows/continuous-integration.yml +0 -0
- {sports2d-0.8.5 → sports2d-0.8.6}/.github/workflows/joss_pdf.yml +0 -0
- {sports2d-0.8.5 → sports2d-0.8.6}/.github/workflows/publish-on-release.yml +0 -0
- {sports2d-0.8.5 → sports2d-0.8.6}/.gitignore +0 -0
- {sports2d-0.8.5 → sports2d-0.8.6}/CITATION.cff +0 -0
- {sports2d-0.8.5 → sports2d-0.8.6}/Content/Demo_plots.png +0 -0
- {sports2d-0.8.5 → sports2d-0.8.6}/Content/Demo_results.png +0 -0
- {sports2d-0.8.5 → sports2d-0.8.6}/Content/Demo_terminal.png +0 -0
- {sports2d-0.8.5 → sports2d-0.8.6}/Content/Person_selection.png +0 -0
- {sports2d-0.8.5 → sports2d-0.8.6}/Content/Video_tuto_Sports2D_Colab.png +0 -0
- {sports2d-0.8.5 → sports2d-0.8.6}/Content/joint_convention.png +0 -0
- {sports2d-0.8.5 → sports2d-0.8.6}/Content/paper.bib +0 -0
- {sports2d-0.8.5 → sports2d-0.8.6}/Content/paper.md +0 -0
- {sports2d-0.8.5 → sports2d-0.8.6}/Content/sports2d_blender.gif +0 -0
- {sports2d-0.8.5 → sports2d-0.8.6}/Content/sports2d_opensim.gif +0 -0
- {sports2d-0.8.5 → sports2d-0.8.6}/LICENSE +0 -0
- {sports2d-0.8.5 → sports2d-0.8.6}/README.md +0 -0
- {sports2d-0.8.5 → sports2d-0.8.6}/Sports2D/Demo/Config_demo.toml +0 -0
- {sports2d-0.8.5 → sports2d-0.8.6}/Sports2D/Demo/demo.mp4 +0 -0
- {sports2d-0.8.5 → sports2d-0.8.6}/Sports2D/Sports2D.ipynb +0 -0
- {sports2d-0.8.5 → sports2d-0.8.6}/Sports2D/Sports2D.py +0 -0
- {sports2d-0.8.5 → sports2d-0.8.6}/Sports2D/Utilities/__init__.py +0 -0
- {sports2d-0.8.5 → sports2d-0.8.6}/Sports2D/Utilities/common.py +0 -0
- {sports2d-0.8.5 → sports2d-0.8.6}/Sports2D/Utilities/filter.py +0 -0
- {sports2d-0.8.5 → sports2d-0.8.6}/Sports2D/Utilities/tests.py +0 -0
- {sports2d-0.8.5 → sports2d-0.8.6}/Sports2D/__init__.py +0 -0
- {sports2d-0.8.5 → sports2d-0.8.6}/pyproject.toml +0 -0
- {sports2d-0.8.5 → sports2d-0.8.6}/setup.cfg +0 -0
- {sports2d-0.8.5 → sports2d-0.8.6}/sports2d.egg-info/SOURCES.txt +0 -0
- {sports2d-0.8.5 → sports2d-0.8.6}/sports2d.egg-info/dependency_links.txt +0 -0
- {sports2d-0.8.5 → sports2d-0.8.6}/sports2d.egg-info/entry_points.txt +0 -0
- {sports2d-0.8.5 → sports2d-0.8.6}/sports2d.egg-info/requires.txt +0 -0
- {sports2d-0.8.5 → sports2d-0.8.6}/sports2d.egg-info/top_level.txt +0 -0
|
@@ -986,7 +986,6 @@ def select_persons_on_vid(frames, all_pose_coords):
|
|
|
986
986
|
bbox=dict(facecolor=UNSELECTED_COLOR, edgecolor=LINE_UNSELECTED_COLOR, boxstyle='square,pad=0.3', path_effects=[patheffects.withSimplePatchShadow()]), zorder=3
|
|
987
987
|
)
|
|
988
988
|
rects.append(rect)
|
|
989
|
-
annotations.append(annotation)
|
|
990
989
|
img_plot = ax_video.imshow(frame_rgb)
|
|
991
990
|
|
|
992
991
|
# Slider
|
|
@@ -1043,6 +1042,10 @@ def select_persons_on_vid(frames, all_pose_coords):
|
|
|
1043
1042
|
bbox=dict(facecolor=UNSELECTED_COLOR, edgecolor=LINE_UNSELECTED_COLOR, boxstyle='square,pad=0.3'), path_effects=[patheffects.withSimplePatchShadow()], zorder=3
|
|
1044
1043
|
)
|
|
1045
1044
|
annotations.append(annotation)
|
|
1045
|
+
else:
|
|
1046
|
+
rect = plt.Rectangle((np.nan, np.nan), np.nan, np.nan)
|
|
1047
|
+
ax_video.add_patch(rect)
|
|
1048
|
+
rects.append(rect)
|
|
1046
1049
|
|
|
1047
1050
|
# Update plot
|
|
1048
1051
|
img_plot.set_data(frame_rgb)
|
|
@@ -2147,7 +2150,7 @@ def process_fun(config_dict, video_file, time_range, frame_rate, result_dir):
|
|
|
2147
2150
|
|
|
2148
2151
|
Pose2Sim_config_dict['project']['participant_height'] = heights_m
|
|
2149
2152
|
Pose2Sim_config_dict['project']['participant_mass'] = masses
|
|
2150
|
-
Pose2Sim_config_dict['project']['frame_range'] =
|
|
2153
|
+
Pose2Sim_config_dict['project']['frame_range'] = 'all'
|
|
2151
2154
|
Pose2Sim_config_dict['markerAugmentation']['feet_on_floor'] = False
|
|
2152
2155
|
Pose2Sim_config_dict['pose']['pose_model'] = pose_model_name.upper()
|
|
2153
2156
|
Pose2Sim_config_dict = to_dict(Pose2Sim_config_dict)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|