Abstract
This paper presents a comprehensive computer vision pipeline designed to transform raw soccer broadcast videos into deep tactical insights. By integrating modified object detection, jersey number recognition, and field homography, the system automatically generates highlight clips, player heatmaps, and team possession statistics in real-time.
1. Introduction
Soccer is the world's most popular sport, yet extracting structured data from live broadcasts remains technically demanding. Challenges include small object sizes (the ball), low resolution, and fast motion. Moreover, players on the same team are visually similar, rendering standard re-identification (Re-ID) algorithms ineffective. Finally, 2D video frames lack spatial context; mapping pixels to 3D field coordinates is necessary for high-level tactical analysis.
2. Methodology
The proposed system architecture consists of several integrated modules:
- Object Detection & Tracking: A modified Single Shot MultiBox Detector (SSD) with 640x640 resolution and optimized anchor sizes detects players and the ball. Tracking utilizes DeepSORT with a Kalman filter, augmented by a "hard metric" that includes team membership and field position to minimize ID-switches.
- Jersey Number Recognition: To resolve player identities, a shallow CNN with a Spatial Transformer Network (STN) is used to warp jersey numbers into a standard view for classification.
- Team Clustering: Players are grouped into teams, referees, and goalkeepers using HSV/RGB color space segmentation and K-means clustering.
- Field Homography: A two-stage CNN detects 17 semantic key points on the pitch, enabling a homography transformation that provides positional awareness for all players.
3. Datasets
The research utilized a combination of public and proprietary data:
- Detection/Tracking: 215,036 labeled bounding boxes and standard Person Re-ID datasets.
- Soccer-Specific Data: 164 match videos from the Premier League and AFC U-19 Championship.
- Highlights: 1,000 manually labeled event samples.
4. Key Insights
- Identity Fusion: Combining jersey number recognition with tracking allows the system to maintain a "lock" on player identity even when numbers are only intermittently visible.
- Real-time Efficiency: The use of SSD over more complex models like Mask R-CNN prioritizes the low-latency requirements of live sports broadcasting.
- Hierarchical Key Point Detection: A two-stage approach (global detection followed by local refinement) is critical for accurate field mapping, especially when markings look identical or are partially occluded.
5. Results and Discussion
The modified SSD achieved a mean Average Precision (mAP) of 78%. Highlight classification reached nearly 100% accuracy on the test set. Crucially, the system generates actionable tactical outputs, such as ball position heatmaps and zonal "controlling rates" (possession percentages).
6. Conclusion and Future Work
While the system effectively transforms video into data, challenges persist when camera zooms hide field key points. Future research will explore complex player interactions and goal probability prediction based on spatial positioning.
Summary updated