Task Solution Approach: Using HSV Color Spacing to Extract Color Mask. Detecting the Cue, Cue Ball and Color Balls using Contours. Then predicting the path of the Color Balls using Mathematical Analysis and Setting Thresholds. Handling the situation if the Ball Touches the Wall, bounces back and goes into the Pocket or Not. Setting the Predictions Path Constant through out the whole Shot by storing the cache prediction Values.