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 ;)
0_golf_simple.ipynb
: simple color-based location of golf ball
1_evaluate_pics.ipynb
: full evaluation of sample data
The input images are taken with a GoPro and must therefore be distorted.!
Output: straight images with hit/miss or distance annotation