SoccerStack
End-to-end football video analysis pipeline: Co-DETR detection, ByteTrack tracking, and PARSeq/ZZPM jersey OCR
01 // OVERVIEW
SoccerStack brings together computer vision engineering and a personal passion for football: unifying Co-DETR (Swin-L) player detection, ByteTrack multi-object tracking, and switchable jersey-number recognition via SoccerNet-tuned PARSeq or ViTPose + MMOCR (ZZPM).
02 // THE PROBLEM
Football match footage suffers from distant small targets, dense player occlusions, and motion blur, causing standalone detectors or generic OCR models to fail on continuous player identity extraction.
03 // THE SOLUTION
Built a configurable multi-stage pipeline coupling high-recall Co-DETR detection with ByteTrack tracklets and pluggable jersey OCR backends (PARSeq default or pose-guided ZZPM ONNX ensemble), complete with CPU/clip fast verification flags.
04 // KEY ENGINEERING HIGHLIGHTS
Decoupled Detect → Track → OCR Pipeline
Unified CLI and environment config with fast clip verification (`--clip_seconds`, `--ocr_cpu`).
Dual Jersey OCR Backends
Defaults to SoccerNet-finetuned PARSeq while supporting pose-guided ZZPM ONNX recognition.