davidpagnon/Sports2D ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple Python tool for analyzing sports videos and webcam footage. I want to drop in a video or use my webcam, then have it automatically detect people, track their body keypoints over time, and compute joint and segment angles for each person. It should work for common sports or movement clips, handle more than one person when possible, and give me an output video with the pose overlay so I can quickly see if it worked.
I’d also like the results saved in useful files I can open later, like trajectories, angle data, and something compatible with biomechanics or OpenSim style workflows if that makes sense. Make the setup easy to run locally, and include a clean interface or script so I can analyze a single file, a folder of videos, or a live camera feed. If you need to check current docs or model options online, go ahead and do that.
Are you gonna build this?
make sure you review the code using coderabbit