ArtLabss / tennis-tracking

Open-source Monocular Python HawkEye for Tennis
https://www.artlabs.tech
The Unlicense
392 stars 95 forks source link

Can this be done for a padel court? #19

Open KristofVDB1 opened 1 year ago

KristofVDB1 commented 1 year ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

This isn't really a bug in the code. I noticed it works smoothly for tennis, but less so for tracking padel. Do you think it's going to be on the roadmap to extend this feature into the padel-sport?

Describe the solution you'd like A clear and concise description of what you want to happen. Ideally, the option to use this codebase out of the box for padel footage. Realistically, even some guidelines on how to get started with this code to extend it for the padel sport would already be an awesome addition

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

shukkkur commented 1 year ago

@KristofVDB1 Hi! Have you tried running the algorithms on padel video? If yes, please share your results.

My guess is that running this project on padel video, would fail because the court is different, there are 4 players (instead of 2) but the ball tracking should work)

We haven't really thought about extending this project for padel videos, but let us see. Thanks for opening the issue!

KristofVDB1 commented 1 year ago

@shukkkur Thanks for the quick response!

Indeed, the ball tracking worked pretty good. I've added small demonstration of the results as proof.

Tracking the players and the court was without succes unfortunately.

https://user-images.githubusercontent.com/28532087/194485177-f7bcb10f-5f0c-4937-9513-d3262d8911e1.mp4