Billiard Game Analysis
Semester Project
Developed a three-cushion billiards analysis system integrating C, MATLAB and LabVIEW. A LabVIEW interface loads a recorded image sequence, isolates the playing surface by RGB thresholding of the cloth, and tracks the red, yellow and white balls frame by frame. C and MATLAB routines reconstruct each trajectory, count cushion contacts, decide whether the shot scores and compute the distance travelled by each ball. MATLAB then generates a PDF score sheet with the plotted trajectories. On the 275-frame test sequence shown below, the system detected three moving balls and six cushion contacts.
GitHub: github.com/Louisdpsq/billiard-analysis