Abstract
Tracking a hockey puck in broadcast video is a significant challenge due to its small size, high speed, and frequent occlusions. Researchers from the University of Waterloo have developed a deep learning framework that localizes pucks directly on rink coordinates by leveraging temporal context and player positions. By training the network to simultaneously recognize game events and locate the puck, the model achieves a 73.1% AUC, effectively handling motion blur and physical obstructions.
Introduction
Tracking a hockey puck (1x3 inches) in standard 30fps broadcast video is often described as a "needle in a haystack" problem. At speeds exceeding 100 mph, the puck appears as a faint grey smear. Traditional systems often track in screen coordinates and then map to the rink, a process prone to errors from camera movement. This research proposes a direct-to-rink localization approach that utilizes "rough" play-by-play data to overcome the annotation bottleneck, learning the relationship between player movement, game events, and puck location.
Methodology
The proposed architecture is a multi-branch convolutional neural network (CNN) designed to fuse spatial and temporal information.
The system consists of three primary components:
- Video Branch: Utilizes an R(2+1)D backbone to factorize 3D convolutions, capturing the puck's trajectory over 16-frame sequences.
- Player Branch: Employs Faster R-CNN to detect player positions, which are converted into a Gaussian-based spatial heatmap representing player density.
- Attention & Multi-Task Heads: A modified Squeeze-and-Excitation block fuses features, forcing the network to focus on high-activity areas. The model then performs two tasks: regressing puck coordinates and classifying game events (Faceoff, Shot, Advance, or Play).
Dataset and Training
The model was trained on a dataset of 8,987 broadcast NHL video clips (1280x720 resolution). Annotations were "approximate," marking general puck locations rather than frame-by-frame pixel coordinates. This approach allows the model to learn from large-scale, real-world data without the need for impossible-to-obtain perfect labels.
Results and Discussion
The model achieved a localization accuracy of 73.1% AUC within a tolerance range of 5 to 50 feet. A key finding was the disparity in directional performance: the model is significantly more accurate at vertical localization (87.8% AUC) than horizontal (81.4% AUC), likely due to the narrower vertical range of the rink.
The multi-task learning approach proved highly effective; recognizing a "Shot" inherently guides the model to look toward the net. While the system currently runs at 5 frames per second (fps)—below the 30fps required for live broadcast—it represents a significant step toward automated, near-real-time hockey analytics.
Conclusion and Future Work
While the model successfully handles many occlusions by using player context, the lower boards closest to the camera remain a physical blind spot. Future improvements could involve higher-resolution 4K video to better capture the puck's small signature and further optimization to reach real-time inference speeds for live broadcast integration.
Summary updated