Extracting match events from tracking data
Turning player and ball tracking data into structured football events.
I developed a provider-agnostic system that automatically detects football events from player and ball tracking data. The work moved from applied research to post-match deployment at the 2022 FIFA World Cup.
Project period · July 2019 – June 2023
The problem
Traditional football event data is manually collected, and is thus expensive, unreliable and often inconsistent across competitions and providers. Tracking feeds offer richer context as they have already been heavily processed, but when we started in 2019 there were no research avenues to bridge the gap between the tracking data and the event data, neither in academia nor in industry.
The approach
I leveraged my deep knowledge of football and algorithms to design a decision tree algorithm that was extracting events from tracking data from any provider, by exploiting changes in ball possession: first determine when a player is in possession and how it changes, then combine those signals with football rules and spatial configurations to identify in-play events and set pieces.
The model included tunable tolerances for player proximity, ball displacement, speed, and direction. I used held-out matches and Bayesian optimization to calibrate those parameters, while keeping evaluation separated by provider, event type, and match phase to ensure the shortcomings of the model were visible.
Throughout this project, we partnered with data companies, football clubs (FC Barcelona) and competition organizers (Bundesliga, English Premier League) to source data from multiple leagues, formats and providers to further validate the approach.
Production and impact
The pipeline ran on GCP, wrote generated events to a data warehouse and data lake, and produced automated match reports. It was used for post-match auto-eventing at the 2022 FIFA World Cup, fully embedded within FIFA's data ecosystem.
The research received the International Sports Engineering Association and Springer Sports Engineering Paper of the Year award in 2022.
The efforts we spearheaded paved the path towards all major football tracking data companies today offering similar automated event data products.