Colorblind and ChatGPT: I can finally follow pro pool
- By GorstyBoy
- Main Forum
- 5 Replies
Wow! This threw me for a fun image processing rabbit hole. For a stationary camera, you can mask off what pixels are in bounds for the table playing surface. Then use the hough transform to find all the balls based on how many pixels of radius a ball would fall within. Then tune high and low values for the RED GREEN and BLUE pixel values for each color ball. Combine all of that logic and you can identify most but the nine ball cleanly with no AI. The nine can be found with a little blob analysis of finding both the yellow and black in high enough concentration within a given pixel radius. The shadows all get to have a go at being the eight ball.











