I turned my iPhone and a €89 phone stabilizer into a cameraman for our amateur football matches
Summary
A small model finds the ball, a rule using ball and players decides where to aim, and the phone drives the gimbal's motors. Model, dataset and training code are open source; tested on real matches.
What the comments say
Long balls are the weak spot: a keeper's clearance crosses half the pitch in a second or two, so the gimbal can't pan fast enough. Zooming out on long kicks beats chasing the ball.
When the ball leaves the frame, the camera falls back on tracking the players, who run toward where it's going, and picks the ball up again; wide angle on small pitches helps.
Predicting where a long ball will land and panning ahead is promising, but cap how far it leads: one bad bounce on bumpy grass commits the camera to the wrong side.
Android isn't planned because gimbal control relies on Apple's DockKit, which only exists on iPhone; other sports would need new training data for the ball model.
The demo clip comes from a match filmed after training, so the model had never seen it; a whole held-out match is the real test, since neighboring frames can inflate frame-level results.
An €89 gimbal is easier to sell to a team than a monthly subscription just to watch your own matches; player-tracking reels and pass counts are the natural next step, though bibs and 5- or 7-a-side pitches complicate it.
Join the discussion
Was this useful to you?
Related
Make cool product videos with AI without Claude
X · changyouxi
Why Johnny Can't Patch
dfarq.homeip.net · Dave Farquhar
I built a free, open-source system design simulator to understand why systems stay down after traffic spikes
r/SideProject · Whole-Government-349
6 months building in public: 142 stars, 7 upstream repos, a conference talk, and $0
r/buildinpublic · Cuber2113
T3 Code: the quietly popular control room for running coding agents in parallel
X · HatchSystem