Skip to main content
QUICK REVIEW

[Paper Review] Automatic event detection in football using tracking data

Ferran Vidal-Codina, Nicolas Evans|arXiv (Cornell University)|Feb 1, 2022
Sports Analytics and PerformanceEconomics, Econometrics and Finance9 citations
TL;DR

This paper proposes a deterministic decision tree-based algorithm that automatically detects football events using 2D player and ball tracking data by first identifying ball possession per frame and then applying football rules to classify in-game events and set pieces. The method achieves over 90% detection accuracy across multiple tournaments and tracking data providers, enabling scalable, consistent, and context-rich event data generation without manual annotation.

ABSTRACT

One of the main shortcomings of event data in football, which has been extensively used for analytics in the recent years, is that it still requires manual collection, thus limiting its availability to a reduced number of tournaments. In this work, we propose a deterministic decision tree-based algorithm to automatically extract football events using tracking data, which consists of two steps: (1) a possession step that evaluates which player was in possession of the ball at each frame in the tracking data, as well as the distinct player configurations during the time intervals where the ball is not in play to inform set piece detection; (2) an event detection step that combines the changes in ball possession computed in the first step with the laws of football to determine in-game events and set pieces. The automatically generated events are benchmarked against manually annotated events and we show that in most event categories the proposed methodology achieves $+90\%$ detection rate across different tournaments and tracking data providers. Finally, we demonstrate how the contextual information offered by tracking data can be leveraged to increase the granularity of auto-detected events, and exhibit how the proposed framework may be used to conduct a myriad of data analyses in football.

Motivation & Objective

  • To address the limitations of manual event data collection, which is subjective, time-consuming, and unavailable for most football tournaments.
  • To develop an automated, scalable, and consistent method for generating event data using only tracking data and football rules.
  • To enhance event granularity by incorporating contextual game information such as player positioning, possession, and team configurations.
  • To support advanced football analytics by aligning auto-generated events with video and tracking data for synchronized, query-ready datasets.
  • To lay the foundation for future integration of video-based event detection and audio cues (e.g., referee whistles) to improve edge-case detection.

Proposed method

  • The algorithm uses a two-step process: first, a possession step that determines which player holds the ball at each frame using spatial proximity, velocity, and ball trajectory analysis.
  • It models player configurations during non-play intervals (e.g., set pieces) by analyzing spatial clustering and positional stability of players.
  • The event detection step applies football rules to transitions in ball possession and player positioning to classify events such as passes, shots, goals, fouls, and set pieces.
  • It leverages spatial and temporal patterns—such as variable-radius zones based on pitch location and opponent proximity—to infer intent and event type.
  • The framework integrates contextual data like team formation, pressure metrics, and possession duration to refine event classification.
  • It is designed to be computationally lightweight and adaptable to different tracking data providers and stadium environments.

Experimental results

Research questions

  • RQ1Can football events be accurately detected using only 2D tracking data and football rules, without manual annotation?
  • RQ2How does the inclusion of possession tracking and player configuration improve event detection accuracy compared to basic motion-based methods?
  • RQ3To what extent can the proposed framework generalize across different tournaments and tracking data providers with varying data quality and resolution?
  • RQ4Can the algorithm detect nuanced events such as tackles, offsides, and types of passes using only center-of-mass tracking data?
  • RQ5How can the integration of additional data sources (e.g., audio whistles, limb tracking) further improve detection performance for ambiguous or rare events?

Key findings

  • The proposed algorithm achieves a detection rate exceeding 90% across most event categories, demonstrating high accuracy and robustness across diverse tournaments and tracking data providers.
  • The framework successfully identifies not only common events like goals and shots but also complex set pieces and possession transitions with high fidelity.
  • Incorporating possession-informed heatmaps and frame-level possession tracking enables more granular and context-aware event analysis at the team and individual player levels.
  • The auto-generated event data is synchronized with video and tracking data, enabling advanced analytics, video segmentation, and targeted event queries.
  • The method is computationally efficient and scalable, making it suitable for widespread deployment across amateur and professional football leagues.
  • Future enhancements, such as integrating audio cues and video-based classifiers, are expected to further improve detection of rare or ambiguous events like VAR interventions and drop-ball vs. free kick.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.