sports2d 0.8.2__py3-none-any.whl → 0.8.3__py3-none-any.whl

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/process.py CHANGED
@@ -1464,7 +1464,6 @@ def process_fun(config_dict, video_file, time_range, frame_rate, result_dir):
1464
1464
  keypoints_ids = [node.id for _, _, node in RenderTree(pose_model) if node.id!=None]
1465
1465
  keypoints_names = [node.name for _, _, node in RenderTree(pose_model) if node.id!=None]
1466
1466
  t0 = 0
1467
- print(keypoints_names, keypoints_ids)
1468
1467
 
1469
1468
  # Set up pose tracker
1470
1469
  try:
@@ -1533,8 +1532,9 @@ def process_fun(config_dict, video_file, time_range, frame_rate, result_dir):
1533
1532
  if save_angles:
1534
1533
  all_frames_angles.append([])
1535
1534
  continue
1536
- else:
1537
- frames.append(frame.copy())
1535
+ else: # does not store all frames in memory if they are not saved or used for ordering
1536
+ if save_img or save_vid or person_ordering_method == 'on_click':
1537
+ frames.append(frame.copy())
1538
1538
 
1539
1539
  # Retrieve pose or Estimate pose and track people
1540
1540
  if load_trc_px:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sports2d
3
- Version: 0.8.2
3
+ Version: 0.8.3
4
4
  Summary: Compute 2D human pose and angles from a video or a webcam.
5
5
  Author-email: David Pagnon <contact@david-pagnon.com>
6
6
  License: BSD 3-Clause License
@@ -1,15 +1,15 @@
1
1
  Sports2D/Sports2D.py,sha256=KWrvWGq49UXta9VJisflyQA-4n7mdu-Uq4GsmDPkaRc,30470
2
2
  Sports2D/__init__.py,sha256=BuUkPEdItxlkeqz4dmoiPwZLkgAfABJK3KWQ1ujTGwE,153
3
- Sports2D/process.py,sha256=AtD17Q68Qh688BQKqgnmBWhlNgcl_Iz1igN5q-zxoMs,107297
3
+ Sports2D/process.py,sha256=5j36J-G5f9cvoG_1eAPfRoFnPRS8Ipx2YidmY6NR0vQ,107417
4
4
  Sports2D/Demo/Config_demo.toml,sha256=GhV-VotYlpYMCu7rHY-AKdWVAT4f61z0oL9-MUBRsOc,13828
5
5
  Sports2D/Demo/demo.mp4,sha256=2aZkFxhWR7ESMEtXCT8MGA83p2jmoU2sp1ylQfO3gDk,3968304
6
6
  Sports2D/Utilities/__init__.py,sha256=BuUkPEdItxlkeqz4dmoiPwZLkgAfABJK3KWQ1ujTGwE,153
7
7
  Sports2D/Utilities/common.py,sha256=idMRmesFv5BPX-5g3z5dOVa7SpS_8tNgijvGrOZlR-k,11185
8
8
  Sports2D/Utilities/filter.py,sha256=rfZcqofjllKI_5ovZTKEAmyjOZpB_PzbAJ0P874T8Ak,4973
9
9
  Sports2D/Utilities/tests.py,sha256=XnPNK63AZ_xlJBmFmPJtOMrzssBXIPXFzYd73CPzchI,4740
10
- sports2d-0.8.2.dist-info/licenses/LICENSE,sha256=f4qe3nE0Y7ltJho5w-xAR0jI5PUox5Xl-MsYiY7ZRM8,1521
11
- sports2d-0.8.2.dist-info/METADATA,sha256=KqPyLRBEtEVB_CK7OrZQBMebuHFaT2gbGXqx745TgWU,39516
12
- sports2d-0.8.2.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
13
- sports2d-0.8.2.dist-info/entry_points.txt,sha256=V8dFDIXatz9VvoGgoHzb2wE71C9-f85K6_OjnEQlxww,108
14
- sports2d-0.8.2.dist-info/top_level.txt,sha256=DoURf9UDB8lQ_9lMUPQMQqhXCvWPFFjJco9NzPlHJ6I,9
15
- sports2d-0.8.2.dist-info/RECORD,,
10
+ sports2d-0.8.3.dist-info/licenses/LICENSE,sha256=f4qe3nE0Y7ltJho5w-xAR0jI5PUox5Xl-MsYiY7ZRM8,1521
11
+ sports2d-0.8.3.dist-info/METADATA,sha256=1e4xNUTcZr4_kDn8Ud8Rj83zQ5nIducWD9vXnW6wYGU,39516
12
+ sports2d-0.8.3.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
13
+ sports2d-0.8.3.dist-info/entry_points.txt,sha256=V8dFDIXatz9VvoGgoHzb2wE71C9-f85K6_OjnEQlxww,108
14
+ sports2d-0.8.3.dist-info/top_level.txt,sha256=DoURf9UDB8lQ_9lMUPQMQqhXCvWPFFjJco9NzPlHJ6I,9
15
+ sports2d-0.8.3.dist-info/RECORD,,