Computer Vision & AI demos / 06
Sports Video Intelligence
Track players and ball movement and derive match statistics.
What you can do in the demo
- Upload a match video (MP4, MOV, WebM, MKV, AVI) and run real detection of players and the ball with FootAndBall, a detector trained for fixed long-shot football footage, with live progress and cancellation
- Real multi-object tracking (ByteTrack) in a camera-motion-stabilised frame: temporary track IDs, active and ended tracks, drawn on the video and kept in sync with the playhead
- Ball tracking that separates observed detections from interpolated estimates and leaves missing intervals empty
- Manual pitch calibration: pair at least 4 visible pitch landmarks with the standard pitch, see the fit error, and only then get pitch positions
- Pitch view with positions, trajectories, per-player, per-team and two-player comparison heatmaps, zones, time-range and period filtering
- Player statistics table (time observed, image and pitch distance, speeds, zone time) with search, sorting, selection and CSV/JSON export, and a timeline with click-to-seek and possession candidates
- A summary of frames processed, real processing speed, detections, tracks, ball detections, mapping status and run-specific warnings
Technology focus
- Tracking
- Heatmaps
- Match statistics
What it really does, and does not do
Prototype. Detection uses FootAndBall (MIT code; the published weights were trained on fixed long-shot Italian-league footage), so close-up broadcast footage is outside its domain and results there are poor. Track IDs are temporary and can switch; teams are a jersey-colour grouping that can be wrong; the ball is tiny and is often missing. Pitch mapping exists only after you calibrate landmarks, assumes feet on the ground, and distances and speeds are estimates. Possession candidates are proximity heuristics; passes, shots and goals are not detected. No licensed sample match is bundled: analysis needs your own match footage, and runs in your browser (FootAndBall via ONNX Runtime Web; several times slower than real time, up to about 3 minutes per run). Not a scouting, refereeing or betting tool.
Demonstrations use fictional, synthetic or user-supplied footage. Each demo states exactly what it runs (real model inference, reference annotations or simulation). They do not represent a completed client deployment.
Have a similar project? Let's talk.
Tell us about the workflow, the data and the systems involved. We'll respond with an honest view of scope and approach.
Start a Project