Sports2d

Latest version: v0.8.1

Safety actively analyzes 724087 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 7

0.6.2

- Skeleton visualization: A bounding-box color per person. Left and right limbs in a different color to better spot swaps. Keypoint color based on confidence.
- Support DeepSort tracking across frames

**Full Changelog**: https://github.com/davidpagnon/Sports2D/compare/v0.6.1...v0.6.2

0.6.1

- install custom rtmlib version (see https://github.com/Tau-J/rtmlib/pull/45) with:
- a new more general Custom class
- PoseTracker working with single-stage models (without detection)
- working NMS for RTMO
- fixed wholebody solution in balanced mode (see https://github.com/perfanalytics/pose2sim/issues/143#issuecomment-2479075518)
- More versatile "mode" argument in sports2d: Any person detection and/or pose estimation model can now be used
- Body, body_with_feet, whole_body now supported
- Fixed Hip, Shoulder, Trunk angles when Hip and Neck keypoints not available
- -13 cm offset in floor line when feet are not available
- Wrist angles supported in WholeBody model
- Segment angles corrected with regards to the floor angle
- Added hand, face, animal, wholebody skeletons (to match Pose2Sim skeletons.py)
- Many fallback mechanisms

0.5.6

- solved various edge cases when multiperson false and load_trc
- unwrapping angles does not work when nans in array: masked them
- made trc and vid with real framerate (fps*slowmo) is finally cleaner
- handled nanmean warning in av_speeds

**Full Changelog**: https://github.com/davidpagnon/Sports2D/compare/v0.5.5...v0.5.6

0.5.5

- better floor angle and axis calculation
- unwrap angles to prevent jumps
- faster when load_trc

**Full Changelog**: https://github.com/davidpagnon/Sports2D/compare/v0.5.4...v0.5.5

0.5.4

custom_logging in case this is meant to be integrated in an API that already has logging

**Full Changelog**: https://github.com/davidpagnon/Sports2D/compare/v0.5.3...v0.5.4

0.5.3

- Took slowmo into account for filtering
- start time sometimes randomly not zero: used ffmpeg to determine it instead of cv2 (may not work properly on macos-latest)
- solved wrong padding of coordinates when person disappears from frame

**Full Changelog**: https://github.com/davidpagnon/Sports2D/compare/v0.5.2...v0.5.3

Page 2 of 7

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.