Team SoloDolo
GolfSim
Practice your putting anywhere with this realistic putting simulator. Use your phone to track ball speed and putter angle.

About this project
An iPhone camera tracks ball speed, ball angle, and putter angle to replicate a realistic golf shot in-game. First, a Python calibration script teaches the camera to recognize the ball and putter by color. A second Python script then live-tracks ball and putter during play. In Godot, the user lines up a shot by choosing a target ball and putter angle, then tries to replicate it while controlling speed through their real putting stroke. The live-tracker measures the actual ball speed, ball angle, and putter angle, and Godot's physics engine, with real friction and gravity, renders the resulting shot.
Gallery

