A General Framework for Jersey Number Recognition in Sports Video

Maria Koshkina, James H. ElderWorkshops @ CVPR 2024 · DOI

Abstract

Automated player tracking and game analysis in team sports rely heavily on the accurate identification of jersey numbers. However, traditional classification approaches often struggle with data scarcity and poor generalization. This paper presents a robust, multi-stage framework that treats jersey number recognition as a Scene Text Recognition (STR) task. By integrating a legibility filter, pose-based localization, and state-of-the-art STR models, the proposed system achieves 91.4% accuracy on hockey data and demonstrates significant cross-sport generalization, notably outperforming existing benchmarks on the SoccerNet dataset.

Introduction

In professional sports, identifying individual players from broadcast or stationary camera footage is a fundamental challenge. While players on the same team wear identical uniforms, their jersey numbers provide the unique "ground truth" necessary for long-term tracking. Despite its importance, jersey number recognition is complicated by high-speed motion blur, jersey folds, occlusions, and varying player orientations.

Examples of jersey number visibility challenges in hockey and soccer, illustrating the noise the framework must filter.

Historically, this task has been framed as a standard image classification problem, typically involving a 1-to-99 class model. This approach is limited by its dependence on large, labeled datasets and its inability to generalize to unseen numbers or different sporting environments.

The Proposed Framework

The authors move away from rigid classification in favor of a modular pipeline that treats jersey numbers as "text in the wild." This approach leverages the inherent structural understanding of Scene Text Recognition (STR) models.

The multi-stage pipeline: from raw player crops to legibility filtering, pose-based localization, and final STR prediction.

1. Legibility Classification

The first stage employs a ResNet34-based binary classifier to determine if a player crop contains a readable number. This step is crucial for filtering out frames where the player is turned away or where motion blur renders the number indecipherable.

2. Pose-Based Localization

Rather than training a custom jersey detector, the framework utilizes ViTPose, an off-the-shelf pose estimator. By detecting shoulder and hip keypoints, the system can accurately localize the torso region. This method is both efficient and robust, as it relies on the anatomical consistency of jersey placement.

3. Recognition via STR

The core of the recognition engine is PARSeq, a state-of-the-art STR model. Unlike traditional classifiers, PARSeq processes individual characters and digits. This allows the model to recognize numbers it may not have encountered during training. While the model performs well out-of-the-box, fine-tuning on sport-specific data further enhances accuracy.

4. Tracklet-Level Aggregation

To handle video sequences, the framework aggregates predictions across "tracklets" (sequences of frames of the same player). The authors implemented two strategies:

  • Heuristic: A confidence-weighted majority vote.
  • Probabilistic: A log-likelihood approach that accounts for common failure modes, such as "one-digit traps" where only part of a two-digit number is visible.

Key Results and Insights

The proposed framework set new benchmarks in both sports:

  • Hockey: Achieved 91.4% image-level accuracy, surpassing previous specialized models like those by Vats et al. (89.6%).
  • Soccer: Reached 87.45% tracklet-level accuracy on SoccerNet, a massive improvement over previous benchmarks (68.53%).

A key insight from the study is the superiority of STR over classification. Because STR models understand digit structure, they are inherently more flexible. Furthermore, the inclusion of "Main Subject Filtering"—using Re-ID to ignore background players—contributed a nearly 3% accuracy boost in soccer environments.

Conclusion

By reframing jersey number recognition as a scene text task and utilizing pose estimation for localization, this framework provides a scalable and highly accurate solution for sports analytics. Future work will focus on deeper integration with active tracking systems to maintain player identity through complex occlusions and scrums.

Summary updated

BibTeX
@inproceedings{koshkina2024general,
  author = {Maria Koshkina and James H. Elder},
  title = {{A General Framework for Jersey Number Recognition in Sports Video}},
  booktitle = {Workshops @ CVPR},
  year = {2024},
  doi = {10.1109/cvprw63382.2024.00329},
}
Figure