PuckNet: Estimating hockey puck location from broadcast video

Kanav Vats, William J. McNally, Chris Dulhanty, Zhong Qiu Lin, David A. Clausi, John S. ZelekarXiv 2019

TL;DR

This paper introduces PuckNet, a novel 3D CNN-based method for estimating the location of a hockey puck in broadcast video. By leveraging publicly available hockey event data and temporal information from video clips, PuckNet overcomes the challenges of puck occlusion and varying camera angles, achieving promising results for sports analytics.

What Problem Does This Paper Address?

Accurately tracking the puck in ice hockey is crucial for game analysis, strategy evaluation, and understanding player positioning. However, this task is notoriously difficult due to the puck's small size, rapid movements, frequent occlusions by players and sticks, and the dynamic nature of broadcast camera angles. Existing methods for tracking are often limited to controlled environments or require extensive manual annotation, making them impractical for analyzing large amounts of broadcast footage. This paper aims to bridge this gap by developing a method that can reliably estimate puck location from readily available broadcast video and existing event data.

Methods

The core of PuckNet is a 3D Convolutional Neural Network (CNN) architecture. The authors leverage a pre-trained 18-layer R(2+1)D network, known for its effectiveness in action recognition, as a feature extractor. The input to the network consists of 16 consecutive frames from a one-second video clip, allowing the model to utilize temporal information to handle occlusions.

Instead of directly regressing pixel coordinates, PuckNet outputs a heatmap representing the probability distribution of the puck's location. This approach is inspired by human pose estimation and helps account for the inherent uncertainty in the ground truth annotations. The network learns to simultaneously localize the puck in the RGB video and infer the homography (geometric transformation) between the broadcast camera's perspective and the static ice rink coordinate system. This learned homography is crucial for mapping the predicted heatmap back to real-world rink coordinates for inference.

Datasets

The dataset used for training and evaluation consists of 2716 one-second broadcast NHL video clips, each captured at 60 frames per second. These clips are paired with approximate puck location annotations derived from publicly available NHL event data. The original video resolution of 1280x720 is downsampled to 256x256 for computation. The dataset is split into 80% for training, 10% for validation, and 10% for testing.

Key Insights and Ideas

  • Leveraging Public Event Data: The paper ingeniously utilizes existing, albeit approximate, puck location data from NHL event logs. This circumvents the need for laborious manual annotation, a major bottleneck in previous research.
  • Temporal Information for Occlusions: By using video clips instead of static images, the 3D CNN can exploit temporal context. This is a critical insight, as it allows the model to infer the puck's location even when it's temporarily hidden from view.
  • Heatmap-based Prediction: Predicting a probability heatmap, rather than direct coordinates, is a robust way to handle the inherent uncertainty in the ground truth and the prediction task itself.
  • Learning Camera-Rink Homography: The model's ability to learn the transformation between the broadcast camera's view and the static rink coordinates is a novel aspect that enables accurate localization across varying camera angles.

Key Results

The PuckNet model achieved an Area Under the Curve (AUC) of 47.07% on the test dataset, evaluated at a tolerance of 5 to 50 feet. The paper also highlights zone-wise accuracy, demonstrating that the model can predict the puck's location within offensive and defensive zones with over 80% accuracy. The authors found that a standard deviation ($\sigma$) of 25 for the ground truth Gaussian heatmap yielded the best overall AUC.

Limitations and Future Work

The authors acknowledge that the current results are preliminary. A key limitation is the reliance on approximate puck location annotations, which introduces uncertainty. The model's performance is also sensitive to the choice of $\sigma$ for the ground truth Gaussian.

Future work suggested includes incorporating additional cues such as player detections, player trajectories, and optical flow to further improve accuracy. The authors also propose extending this methodology to other sports like soccer. The current model's accuracy in the horizontal direction is lower than in the vertical direction due to the camera's horizontal panning, suggesting that improving robustness to viewpoint changes is an area for further development.

Summary updated

BibTeX
@misc{vats2019pucknet,
  author = {Kanav Vats and William J. McNally and Chris Dulhanty and Zhong Qiu Lin and David A. Clausi and John S. Zelek},
  title = {{PuckNet: Estimating hockey puck location from broadcast video}},
  year = {2019},
  eprint = {1912.05107},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1912.05107},
}
Figure