MIDS Capstone Project Summer 2026

MotionCaddie: a Golf Coach in Your Pocket

MotionCaddie turns a single phone video into a full 3D golf swing reconstruction and a tour-referenced coaching read.

Objective biomechanical feedback (hip-shoulder separation, posture, tempo, weight shift) has historically needed equipment most golfers never get access to. MotionCaddie closes that gap: a 2D pose model locates every joint in the frame, a Viterbi-based identity-repair pass corrects left/right limb swaps before lifting, a 3D lifting model reconstructs the depth a single camera can't see, and a trained event detector finds address, top, impact, and follow-through with 0.865 accuracy (PCE@5) — beating the published GolfDB SwingNet baseline of ~0.76.

The coaching layer is built entirely around tour-pro comparison, not generic advice. Each of 15 biomechanical indicators — tempo ratio, hip-shoulder separation (X-factor), posture, weight shift, hip and shoulder rotation at each swing event, and more — has its own reference band: p10/p25/p50/p75/p90 percentiles built from the same GolfDB tour-professional swings used to train the pipeline. A golfer's measurement is scored as a percentile against that distribution and flagged inside, below, or above the pro band, so the feedback reads against real measured tour data rather than a rule of thumb. Confidence is gated per indicator by a depth-reliability study of monocular 3D estimation: joints whose depth can't be estimated reliably from a single camera are withheld rather than shown with false confidence. On top of that, every indicator ships its own knowledge card of approved and prohibited language — the LLM coach can state that a measurement falls inside, below, or above the tour range, and compare two swings' progression against each other, but it is explicitly barred from grading the swing ("good," "not open enough"), prescribing a fix, or inferring anything the number can't support (power, sequencing, ball flight, injury). A grounding verifier checks every generated sentence against this rulebook before it reaches the golfer.

A parallel ball-tracking stage follows the ball itself when it's visible in frame, anchored to the golfer's body scale from the pose track, and fits a constrained physics model to the observed trajectory — reporting a measured launch angle, azimuth, speed, and carry distance with a confidence band, rather than a guess. When the ball can't be tracked, the same physics engine falls back to club-based launch defaults for an honestly-labeled simulated estimate instead. The same tool-calling, grounded LLM coach — served through Amazon Bedrock — answers golfers' questions about their swing and ball flight in plain English, pulling every number live from the measured data.

Golfers upload their own swing video through a live web portal; it moves through a serverless AWS pipeline — API Gateway, S3, EventBridge, SQS, and a containerized processing Lambda — into a 3D replay, scorecard, and ball-flight readout, no GPU or lab required on the user's end. Getting here took benchmarking roughly 28,000 model-and-clip combinations across pose backbones, 3D lifters, and event detectors on 1,400 labeled clips from GolfDB.

Built by Austin Lee, Banjot Saini, Theodore Hui, and Lawrence Jordan for the MIDS W210 Capstone at the UC Berkeley School of Information, 2026

Last updated: August 2, 2026