tobibaum / golf_radial_error

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example Evaluation of putting study in golf

Goal: measure the distance of the golf put to the hole. white card = ball hit hole. blue card = ball missed entirely

Dimensions and conversion of pixel to meters in golf_utils.py

WARNING: method has been developed for full-size images. Here we use 640x480. for best results, implement better Vision and finetuning the algorithms ;)

Run

0_golf_simple.ipynb: simple color-based location of golf ball

1_evaluate_pics.ipynb: full evaluation of sample data

Example

The input images are taken with a GoPro and must therefore be distorted.!

Input: raw images Screenshot from 2022-09-15 18-09-15

Output: straight images with hit/miss or distance annotation P05_QE_Post_j=127

About


Languages

Language:Jupyter Notebook 99.9%Language:Python 0.1%