Sports2D: Compute 2D human pose and angles from a video or a webcam
Authors/Creators
Description
Instead of scaling with the height of the chosen person, you can now use a calibration file, which give more accurate results, more easily if the participants are not measured. The floor angle and the XY origin are recomputed.
Regardless of the chosen method, a calibration file is saved.
- The rotation and translation matrices are calculated from the estimated floor angle, estimated XY origin, and an arbitrary camera-to-subject distance (10 m by default)
- The intrinsic matrix is computed from the resolution of the video, the estimated floor angle, the height of the person in meters and in pixels, as well as the arbitrary camera-to-subject distance
- The distortion is assumed to be inexistent
This also allows for a better visualization with overlay of the OpenSim skeleton to the video.
https://github.com/user-attachments/assets/2ce62012-f28c-4e23-b3b8-f68931bacb77
Next goals:
- fix perspective effects
- let the user optionally specify
- camera-to-subject distance
- focal_distance
- field of view
- recalculate_extrinsics
- potentially also compensate for distorsion and for camera not parallel to the plane of motion
Full Changelog: https://github.com/davidpagnon/Sports2D/compare/v0.8.22...v0.8.23
Notes
Files
davidpagnon/Sports2D-v0.8.23.zip
Files
(9.9 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:abf93a2eb9ae4d4270003482092f1475
|
9.9 MB | Preview Download |
Additional details
Related works
- Is supplement to
- Software: https://github.com/davidpagnon/Sports2D/tree/v0.8.23 (URL)
Software
- Repository URL
- https://github.com/davidpagnon/Sports2D