I want to detect the pool balls when they are not moving. While moving I can detect them with any background subtraction model, finding a hard time detecting them while stationary.
Normal thresholding won’t work.
Worked on the gradient of the image but it is difficult to remove noise completely.