How xunyv666/shootlab works
ShootLab is a browser-based sports-video analysis site. The main user workflow is to select a project and analyze a local video: local pose estimation feeds project-specific measurements, which the interface presents alongside timelines and coaching or calibration features. Rope, long-jump, and push-up analysis are distinct branches sharing the pose engine. The repository also contains offline basketball research tools for extracting poses and calculating shot metrics. Edges reflect README statements and shown imports/calls; unsampled UI wiring is not inferred.
Main entry points: app.js Analysis interface · pose-engine.js Pose engine · rope-engine.js Rope analysis · longjump-engine.js Long-jump analysis
Components 22
Browser analysis
- Analysis interface
prototype/js/app.js - Pose engine
prototype/js/pose-engine.js
Basketball coaching
- Shot analysis
prototype/js/pose-engine.js - Metric scoring
prototype/js/metrics.js - Court zones
prototype/js/zone.js - Shot calibration
prototype/js/progress.js - Coach narration
prototype/js/coach.js - Pose template
prototype/js/ghost.js
Movement projects
- Rope analysis
prototype/js/rope-engine.js - Rope results
prototype/js/rope.js - Long-jump analysis
prototype/js/longjump-engine.js - Long-jump results
prototype/js/longjump.js - Push-up analysis
prototype/js/pushup-engine.js - Push-up results
prototype/js/pushup.js
Offline research
- Pose extraction
tools/extract_pose.py - Metric recomputation
tools/recompute_metrics.py - Shot experiments
tools/experiment.py - Ball tracking
tools/ball_track.py - Experiment builder
tools/build_experiment.py - Batch dataset
tools/batch_dataset.py
Other components
- Athlete
- Local video
Connections 23
- Athlete → Analysis interface: selects project
README.md - Local video → Analysis interface: provides video
README.md - Analysis interface → Pose engine: starts analysis
README.md - Pose engine → Shot analysis: analyzes poses
README.md - Shot analysis → Metric scoring: scores shots
README.md - Analysis interface → Court zones: configures shot
README.md - Analysis interface → Shot calibration: records outcomes
README.md - Analysis interface → Coach narration: presents coaching
README.md - Analysis interface → Pose template: shows template
README.md - Analysis interface → Rope analysis: runs rope analysis
README.md - Pose engine → Rope analysis: provides pose model
prototype/js/rope-engine.js - Rope analysis → Rope results: returns measurements
README.md - Analysis interface → Long-jump analysis: runs jump analysis
README.md - Pose engine → Long-jump analysis: provides pose model
prototype/js/longjump-engine.js - Long-jump analysis → Long-jump results: returns measurements
README.md - Analysis interface → Push-up analysis: runs push-up analysis
README.md - Pose engine → Push-up analysis: provides pose model
prototype/js/pushup-engine.js - Push-up analysis → Push-up results: returns measurements
README.md - Pose extraction → Metric recomputation: supplies pose data
tools/recompute_metrics.py - Experiment builder → Shot experiments: calculates metrics
tools/build_experiment.py - Experiment builder → Ball tracking: tracks ball
tools/build_experiment.py - Batch dataset → Shot experiments: analyzes shots
tools/batch_dataset.py - Batch dataset → Ball tracking: tracks ball
tools/batch_dataset.py