SportsLabKit icon indicating copy to clipboard operation
SportsLabKit copied to clipboard

How to convert GNSS coordinates from 'lat, lon' to the pitch coordinates?

Open mcjeong95 opened this issue 3 years ago • 2 comments

Hi, I've just downloaded SoccerTrack dataset and try to explore GNSS data.

However, the coordinates of GNSS data are in 'lat, lon', so I couldn't compare the coordinates which were obtained from camera.

How can I convert GNSS coordinates from 'lat, lon' to the pitch coordinates?

Thanks for releasing valuable soccer dataset publicly!

mcjeong95 avatar Sep 18 '22 12:09 mcjeong95

Hi! Thanks for the question.

You need to calculate the homography transform and project the coordinates.

Here's a file containing the corresponding points between standard pitch coordinates (in meters) and Lat-Lon coordinates.

https://drive.google.com/file/d/1tnYiwtSjdLf1J8qXjvN2A0_ZBGBIwEvl/view?usp=drivesdk

I'm sorry the docs are lacking, I promise we're working hard towards making everything easier to use!

Btw, I'm guessing you are one of the authors from the MLSA paper:

https://dtai.cs.kuleuven.be/events/MLSA22/papers/MLSA22_paper_8096.pdf

GPS-OTS alignment is something we thought would be useful in alleviating GT annotation cost for soccertrack so it would be great to see the results in 11 vs 11 setting.

AtomScott avatar Sep 20 '22 23:09 AtomScott

Yes, as you guessed I'm one of the authors from the MLSA paper, and we're trying to apply our algorithm to SoccerTrack.

If it works well, I'll let you know :)

Thanks for all your help, Scott!

mcjeong95 avatar Sep 21 '22 07:09 mcjeong95