Tracking People playing Tennis

Hey,
I’d like to develop a project where you upload a video of a tennis match. It then analyzes the video and counts the amount of strokes each player made. Could someone point me in the right direction here? How would you start? What tools/software/librarys would you use?
Thanks!

You could use YOLO for skeleton recognition and object detection to track the tennis players and the ball. A basic approach could be to consider a stroke as having occurred when the ball is sufficiently close to a player’s racquet. However, there are challenges to consider, such as missed swings or the potential for low performance. This is just one possible method to start exploring