sports2d 0.8.9__py3-none-any.whl → 0.8.10__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/Sports2D.py CHANGED
@@ -243,7 +243,7 @@ DEFAULT_CONFIG = {'base': {'video_input': ['demo.mp4'],
243
243
  'kinematics':{'do_ik': False,
244
244
  'use_augmentation': False,
245
245
  'feet_on_floor': False,
246
- 'use_simple_model ': True,
246
+ 'use_simple_model': False,
247
247
  'participant_mass': [55.0, 67.0],
248
248
  'right_left_symmetry': True,
249
249
  'default_height': 1.70,
@@ -297,7 +297,7 @@ CONFIG_HELP = {'config': ["C", "path to a toml configuration file"],
297
297
  'do_ik': ["", "do inverse kinematics. false if not specified"],
298
298
  'use_augmentation': ["", "Use LSTM marker augmentation. false if not specified"],
299
299
  'feet_on_floor': ["", "offset marker augmentation results so that feet are at floor level. true if not specified"],
300
- 'use_simple_model ': ["", ">10 times faster IK if true. No muscles, no constraints (eg stiff spine and shoulders, no patella). false if not specified"],
300
+ 'use_simple_model': ["", ">10 times faster IK if true. No muscles, no constraints (eg stiff spine and shoulders, no patella). false if not specified"],
301
301
  'participant_mass': ["", "mass of the participant in kg or none. Defaults to 70 if not provided. No influence on kinematics (motion), only on kinetics (forces)"],
302
302
  'close_to_zero_speed_m': ["","Sum for all keypoints: about 50 px/frame or 0.2 m/frame"],
303
303
  'tracking_mode': ["", "'sports2d' or 'deepsort'. 'deepsort' is slower, harder to parametrize but can be more robust if correctly tuned"],
@@ -97,8 +97,8 @@ def test_workflow():
97
97
  config_dict.get("base").update({"video_dir": str(video_dir)})
98
98
  config_dict.get("base").update({"person_ordering_method": "highest_likelihood"})
99
99
  with open(config_path, 'w') as f: toml.dump(config_dict, f)
100
- demo_cmd4 = ["sports2d", "--config", str(config_path), "--show_realtime_results", "False", "--show_graphs", "False"]
101
- subprocess.run(demo_cmd4, check=True, capture_output=True, text=True, encoding='utf-8')
100
+ demo_cmd5 = ["sports2d", "--config", str(config_path), "--show_realtime_results", "False", "--show_graphs", "False"]
101
+ subprocess.run(demo_cmd5, check=True, capture_output=True, text=True, encoding='utf-8')
102
102
 
103
103
 
104
104
  if __name__ == "__main__":
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sports2d
3
- Version: 0.8.9
3
+ Version: 0.8.10
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
  Maintainer-email: David Pagnon <contact@david-pagnon.com>
@@ -9,7 +9,7 @@ Content/paper.md,sha256=8rWSOLrKTysloZv0Fz2lr3nayxtHi7GlFMqwdgDVggY,11333
9
9
  Content/sports2d_blender.gif,sha256=wgMuPRxhja3XtQn76_okGXsNnUT9Thp0pnD36GdW5_E,448786
10
10
  Content/sports2d_opensim.gif,sha256=XP1AcjqhbGcJknXUoNJjPWAwaM9ahZafbDgLWvzKJs4,376656
11
11
  Sports2D/Sports2D.ipynb,sha256=VnOVjIl6ndnCJTT13L4W5qTw4T-TQDF3jt3-wxnXDqM,2427047
12
- Sports2D/Sports2D.py,sha256=U8j27Bow127GavFjQdHzRVAHONPfs17gAHvZ-7x3ZZo,33522
12
+ Sports2D/Sports2D.py,sha256=tbQi_d6GXMqFkSd1_FRxyl6oA4CXEJH0g-lEskmR4mI,33521
13
13
  Sports2D/__init__.py,sha256=BuUkPEdItxlkeqz4dmoiPwZLkgAfABJK3KWQ1ujTGwE,153
14
14
  Sports2D/process.py,sha256=UovoTjXSxlrTNnuog9MlQu_2HCAypovDVUKIUIZ8k_c,111353
15
15
  Sports2D/Demo/Config_demo.toml,sha256=jiPGr6JbePu1tItgRxdAu45mwFqr3RcIi_tfhO2ik1g,14027
@@ -17,10 +17,10 @@ Sports2D/Demo/demo.mp4,sha256=2aZkFxhWR7ESMEtXCT8MGA83p2jmoU2sp1ylQfO3gDk,396830
17
17
  Sports2D/Utilities/__init__.py,sha256=BuUkPEdItxlkeqz4dmoiPwZLkgAfABJK3KWQ1ujTGwE,153
18
18
  Sports2D/Utilities/common.py,sha256=idMRmesFv5BPX-5g3z5dOVa7SpS_8tNgijvGrOZlR-k,11185
19
19
  Sports2D/Utilities/filter.py,sha256=rfZcqofjllKI_5ovZTKEAmyjOZpB_PzbAJ0P874T8Ak,4973
20
- Sports2D/Utilities/tests.py,sha256=XnPNK63AZ_xlJBmFmPJtOMrzssBXIPXFzYd73CPzchI,4740
21
- sports2d-0.8.9.dist-info/licenses/LICENSE,sha256=f4qe3nE0Y7ltJho5w-xAR0jI5PUox5Xl-MsYiY7ZRM8,1521
22
- sports2d-0.8.9.dist-info/METADATA,sha256=S_gg8W3DhFHbiVh8EbnT7I_D3gM0t5UzQq9kwHzWK7U,38442
23
- sports2d-0.8.9.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
24
- sports2d-0.8.9.dist-info/entry_points.txt,sha256=V8dFDIXatz9VvoGgoHzb2wE71C9-f85K6_OjnEQlxww,108
25
- sports2d-0.8.9.dist-info/top_level.txt,sha256=cWWBiDD2WbQXMoIoN6-9et9U2t2c_ZKo2JtBqO5uN-k,17
26
- sports2d-0.8.9.dist-info/RECORD,,
20
+ Sports2D/Utilities/tests.py,sha256=3-slY2teKd78q0NzfJ2H84xRFSNXvGyDwew27oHJfrY,4740
21
+ sports2d-0.8.10.dist-info/licenses/LICENSE,sha256=f4qe3nE0Y7ltJho5w-xAR0jI5PUox5Xl-MsYiY7ZRM8,1521
22
+ sports2d-0.8.10.dist-info/METADATA,sha256=5qmY0gVTZV3vZkr5n9QizGfNwbIHDT5x2tqUoSdvvMs,38443
23
+ sports2d-0.8.10.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
24
+ sports2d-0.8.10.dist-info/entry_points.txt,sha256=V8dFDIXatz9VvoGgoHzb2wE71C9-f85K6_OjnEQlxww,108
25
+ sports2d-0.8.10.dist-info/top_level.txt,sha256=cWWBiDD2WbQXMoIoN6-9et9U2t2c_ZKo2JtBqO5uN-k,17
26
+ sports2d-0.8.10.dist-info/RECORD,,