Generalized Jersey Number Recognition Using Multi-task Learning With Orientation-guided Weight Refinement

Yung-Hui Lin, Yu-Wen Chang, Huang-Chia Shih, Takahiro OgawaarXiv 2024 · OpenReview

Abstract

Jersey number recognition (JNR) has always been an important task in sports analytics. Improving recognition accuracy remains an ongoing challenge because images are subject to blurring, occlusion, deformity, and low resolution. Recent research has addressed these problems using number localization and optical character recognition. Some approaches apply player identification schemes to image sequences, ignoring the impact of human body rotation angles on jersey digit identification. Accurately predicting the number of jersey digits by using a multi-task scheme to recognize each individual digit enables more robust results. Based on the above considerations, this paper proposes a multi-task learning method called the angle-digit refine scheme (ADRS), which combines human body orientation angles and digit number clues to recognize athletic jersey numbers. Based on our experimental results, our approach increases inference information, significantly improving prediction accuracy. Compared to state-of-the-art methods, which can only handle a single type of sport, the proposed method produces a more diverse and practical JNR application. The incorporation of diverse types of team sports such as soccer, football, basketball, volleyball, and baseball into our dataset contributes greatly to generalized JNR in sports analytics. Our accuracy achieves 64.07% on Top-1 and 89.97% on Top-2, with corresponding F1 scores of 67.46% and 90.64%, respectively.

1. Introduction

Identifying athletes by their jersey numbers is a cornerstone of sports analytics, yet it remains a significant challenge for computer vision. Unlike standard Optical Character Recognition (OCR), jersey numbers are subject to extreme motion blur, low resolution from distant cameras, and "deformity"—the way fabric folds and twists as a player moves.

Existing research often suffers from two primary limitations. First, models are frequently sport-specific (e.g., tuned only for ice hockey), failing to generalize across different jersey styles. Second, treating jersey numbers as 100 distinct classes (0-99) leads to class sparsity, where rare numbers lack sufficient training data. This paper addresses these issues through a generalized multi-task learning approach that leverages human body orientation as a geometric prior.

2. Methodology

The proposed system utilizes a multi-task learning (MTL) architecture with a ResNet50 backbone to decompose the complex recognition task into manageable sub-tasks.

The proposed ADRS architecture, featuring (a) the multi-task training phase with a ResNet50 backbone and (b) the testing phase incorporating orientation-guided refinement.

2.1 Multi-Task Architecture

Instead of a single classification head, the model handles four tasks simultaneously:

  • Holistic Recognition: Predicting the entire number (0-99).
  • Tens-digit Recognition: Identifying the first digit (0-9).
  • Ones-digit Recognition: Identifying the second digit (0-9).
  • Digit Count: Determining if the jersey has one, two, or zero digits.

By breaking numbers into individual digits, the model learns the features of a specific digit regardless of its combination, effectively solving the class sparsity problem for rare numbers.

2.2 Angle-Digit Refine Scheme (ADRS)

The core innovation is the Angle-Digit Refine Scheme (ADRS). The authors observed that a player's body rotation significantly impacts digit visibility. Using the MEBOW orientation estimation tool, the model calculates the player's rotation angle.

Mapping of human body orientation angles to player images, providing the geometric constraints used by the ADRS logic.

If the player is oriented between 85° and 265° (showing their back or side), the ADRS logic intervenes to refine the digit count prediction. This prevents the model from missing a digit due to fabric folds or steep camera angles, using orientation as a logical check on the likelihood of a single-digit versus double-digit prediction.

3. Datasets and Experimental Setup

To ensure generalization, the researchers compiled a robust multi-sport benchmark totaling 58,563 images (45,099 for training, 8,490 for validation, and 4,974 for testing). While SoccerNet provided the majority of the data (96%), the inclusion of football, basketball, volleyball, and baseball provided crucial examples of rare jersey numbers (60-99) typically absent in soccer-only datasets.

Ablation studies determined that a ResNet50 backbone with a batch size of 64 and specifically tuned loss weights ($\alpha_1=0.2, \alpha_2=0.3, \alpha_3=0.3, \alpha_4=0.2$) yielded optimal performance.

4. Results and Discussion

The proposed method significantly outperformed previous state-of-the-art multi-task models. The model achieved a Top-1 Accuracy of 64.07% (a 10.81% improvement over the baseline) and a Top-2 Accuracy of 89.97% (an 11.38% improvement). The Top-2 metric reflects a practical ensemble approach where the prediction is considered correct if either the holistic or the digit-wise combined prediction matches the ground truth.

Despite these gains, limitations remain regarding extreme class imbalance for numbers 60-99 and failures during extreme blur or player overlap. However, the use of orientation as a prior demonstrates that geometric constraints can significantly boost recognition robustness in dynamic environments.

5. Conclusion

The ADRS framework provides a generalized solution for JNR by combining multi-task digit recognition with orientation-guided refinement. By moving beyond sport-specific models and incorporating body pose data, the system achieves high accuracy across diverse athletic contexts, paving the way for more robust automated sports analytics.

Summary updated

BibTeX
@misc{lin2024generalized,
  author = {Yung-Hui Lin and Yu-Wen Chang and Huang-Chia Shih and Takahiro Ogawa},
  title = {{Generalized Jersey Number Recognition Using Multi-task Learning With Orientation-guided Weight Refinement}},
  year = {2024},
  eprint = {2406.01033},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.01033},
}
Figure