This project focuses on predicting the final golf ball location after the ball is hit by the golfer with only one camera using Machine Learning Algorithms and Open CV.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.Some files are intentionally ommited to avoid direct copying my code. If anyone wants guidence they can mail me at email@example.com.
- To install the dependencies, you need to
- python 3
Capture the side view of the shot.
final_show.pyto get real time prediction.
Mark the position of ball to create a contour over it.
Press 'enter' to Continue.
Optical Flow would mark 3 points on the ball and track the pixel coordinates.
- Graph is plotted.
- Close that figure and you would get the final graph of the ball.
- This would give your final predictible position of the shot.
- Initial Speed
- Angle of projection
- Angle from Ground
- Spin of the ball
- Wind speed
- Air drag
- Magnus Effect
- Coefficient of friction of ground
- Ball Weight
We use SemVer for versioning.
Please feel free to contribute. We would love to see pull requests from you guys.
- Prayag Lehna
- Utkarsh Mishra
- Abhishek Sikari
- Pranav Magga