Abstract
Tracking the ball is critical for video-based analysis of team sports. However, it is difficult, especially in low-resolution images, due to the small size of the ball, its speed that creates motion blur, and its often being occluded by players. In this paper, we propose a generic and principled approach to modeling the interaction between the ball and the players while also imposing appropriate physical constraints on the ball's trajectory. We show that our approach, formulated in terms of a Mixed Integer Program, is more robust and more accurate than several state-of-the-art approaches on real-life volleyball, basketball, and soccer sequences.
Introduction
Tracking a ball in team sports presents unique challenges for computer vision. Unlike sports with predictable paths like tennis, team sports involve small, fast-moving objects prone to motion blur and frequent occlusions by players. Furthermore, unpredictable trajectories caused by kicks, passes, and dribbles break the "smoothness" assumptions relied upon by standard tracking algorithms. Existing solutions typically favor either physics-based models (which fail during player intervention) or interaction-based models (which fail during free flight). This work bridges this gap by simultaneously modeling physical ballistic constraints and ball-player interactions.
Methodology
The proposed framework utilizes a global optimization approach formulated as a Mixed Integer Program (MIP). The core of this approach is the "Ball Graph," which incorporates several key components:
- State-Based Modeling: The ball is modeled through discrete states, including flying, in possession, rolling, or not present.
- Physical and Interaction Constraints: The MIP enforces specific constraints based on the ball's state. In the flying state, second-order parabolic motion (gravity) is enforced. In the in possession state, the ball is constrained to remain within a specific distance of a detected player.
- Joint Optimization: The framework can simultaneously optimize player and ball trajectories. This allows player movement data to help resolve ambiguities in ball location and vice versa.
The problem is solved globally using the Gurobi optimizer across batches of frames (typically 500), allowing the algorithm to use future information to resolve past occlusions.
Results and Discussion
The method was evaluated across six diverse datasets, including basketball (Basket-1, Basket-2, Basket-APIDIS), volleyball (Volley-1, Volley-2), and soccer (Soccer-ISSIA).
Performance and Robustness
The proposed approach consistently outperformed baselines such as InterTrack, RANSAC, and Growth. On the Volley-1 dataset, the method achieved nearly 75% accuracy at a 25cm threshold, significantly higher than the best baseline. Qualitative results demonstrate the tracker's ability to follow the ball through complex interactions, such as a "bump" in volleyball, even when the player involved was not initially detected.
Key Insights
A major finding is the effectiveness of treating "possession" as a physical constraint. By forcing the ball to "stick" to players in the optimizer, the system can accurately estimate the ball's position even during total occlusion. Additionally, the ability of the optimizer to switch between different physical models (e.g., gravity vs. player-following) provides a level of flexibility missing in standard trackers.
Conclusion
This paper introduces a robust, generic framework for ball tracking that integrates physical constraints with player interaction modeling. While the current implementation requires batch processing and is not yet real-time, its high accuracy makes it ideal for post-game analysis. Future work involves extending this model to automatic activity recognition, such as identifying specific tactical plays in basketball.
Summary updated