Skip to content

Programming contest hosted by CV Zone, sponsored by NVIDIA. Where the objective is to predict the paths of the ball on the pool table and whether they will go in the hole.

Notifications You must be signed in to change notification settings

Salgado2004/Pool_Shot_Predictor_Contest

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 

Repository files navigation

image

Programming contest hosted by CV Zone, sponsored by NVIDIA. Where the objective is to predict the paths of the ball on the pool table and whether they will go in the hole.

The main method used is color and shape detection to discern the objects on the pool table. To each object, the program defines a different HSV filter. With the coordinates of each object, it calculates the likely path of the ball based on linear algebra. As the program can't estimate the exact location of the cue, thus creating many different possible outcomes, it also calculates which is the most likely path. The most likely path is shown during the shot.

It has been defined labels in front of the objects, to help me understand what the program was detecting during the development. Later on, I decided to keep them just for style.

Result samples



Contest winners


I would like to thank everyone who voted for me and this project, and also CV Zone for hosting this contest and giving me the opportunity to learn and test my skills. I promise to keep studying and learning to create better solutions in the field of computer vision.

© Leonardo Salgado


About

Programming contest hosted by CV Zone, sponsored by NVIDIA. Where the objective is to predict the paths of the ball on the pool table and whether they will go in the hole.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages