How open-starlab/trackid3x3 works
TrackID3x3 combines a fixed-camera 3x3 basketball tracking baseline with downstream player identification and analysis. The documented workflow is to obtain tracks, prepare tracklet crops, identify legible jersey numbers outdoors, and derive attributes; indoor and outdoor attribute methods and TI-HOTA evaluation are also documented. CAMELTrack and several notebook workflows named in the README are absent from the supplied tree, so their internals and connections are not mapped. The source excerpts support the BoT-SORT tracking and jersey legibility links; other relationships are shown only where README or indexed references support them.
Main entry points: bot_sort.py BoT-SORT tracker · main.py Jersey pipeline · demo.py Video inference · mc_bot_sort.py Camera-aware tracker
Components 23
Detection and tracking
- YOLOX detector
BoT-SORT/yolox/models/yolox.py - YOLOv7 detector
BoT-SORT/yolov7/models/yolo.py - Video inference
BoT-SORT/tools/demo.py - BoT-SORT tracker
BoT-SORT/tracker/bot_sort.py - Camera-aware tracker
BoT-SORT/tracker/mc_bot_sort.py - Track matching
BoT-SORT/tracker/matching.py - Motion filtering
BoT-SORT/tracker/kalman_filter.py - Camera motion
BoT-SORT/tracker/gmc.py - ReID embeddings
BoT-SORT/fast_reid/fast_reid_interfece.py - Embedding head
BoT-SORT/fast_reid/fastreid/modeling/heads/embedding_head.py
Player identification
- Tracklet crops
script/Outdoor/crop_images.py - Jersey pipeline
jersey-number-pipeline/main.py - Legibility classifier
jersey-number-pipeline/legibility_classifier.py - Number recognition
jersey-number-pipeline/str.py - Pipeline configuration
jersey-number-pipeline/configuration.py
Attribute analysis
- Indoor attributes
- Torso organization
script/Outdoor/organization_torso_images.py - Color histograms
script/Outdoor/calculate_color_hist.py - Player attributes
Dataset and evaluation
- Game video
- TrackID3x3 dataset
- TI-HOTA evaluation
Other components
- Video operator
Connections 27
- Video operator → Video inference: runs inference
- Game video → Video inference: supplies frames
BoT-SORT/tools/demo.py - Video inference → YOLOX detector: runs detector
BoT-SORT/tools/demo.py - Video inference → BoT-SORT tracker: updates tracks
BoT-SORT/tools/demo.py - BoT-SORT tracker → Track matching: matches detections
BoT-SORT/tracker/bot_sort.py - BoT-SORT tracker → Motion filtering: filters motion
BoT-SORT/tracker/bot_sort.py - BoT-SORT tracker → Camera motion: compensates motion
BoT-SORT/tracker/bot_sort.py - BoT-SORT tracker → ReID embeddings: extracts features
BoT-SORT/tracker/bot_sort.py - Camera-aware tracker → Track matching: matches detections
BoT-SORT/tracker/mc_bot_sort.py - Camera-aware tracker → Motion filtering: filters motion
BoT-SORT/tracker/mc_bot_sort.py - Camera-aware tracker → Camera motion: compensates motion
BoT-SORT/tracker/mc_bot_sort.py - Camera-aware tracker → ReID embeddings: extracts features
BoT-SORT/tracker/mc_bot_sort.py - ReID embeddings → Embedding head: builds embeddings
BoT-SORT/fast_reid/fast_reid_interfece.py - TrackID3x3 dataset → Game video: contains footage
- Video operator → Tracklet crops: prepares track crops
- Tracklet crops → Jersey pipeline: provides tracklet images
- Jersey pipeline → Legibility classifier: filters images
jersey-number-pipeline/main.py - Jersey pipeline → Pipeline configuration: loads settings
jersey-number-pipeline/main.py - Jersey pipeline → Number recognition: recognizes numbers
- Video operator → Indoor attributes: runs indoor analysis
- Video operator → Torso organization: organizes images
- Torso organization → Color histograms: provides torso images
- Color histograms → Player attributes: supplies color features
- Jersey pipeline → Player attributes: supplies jersey results
- Video operator → TI-HOTA evaluation: runs evaluation
- TrackID3x3 dataset → TI-HOTA evaluation: evaluated as tracking data
- Video inference → YOLOv7 detector: supports alternate detection