Stationary pool ball detection in Grayscale Image

It is infrared. We are using this as there is also a projection on the pool table to make it interactive. So IR images will not be affected by changing artificial lights and projections.