I am new to the OpenCV background subtraction model that is definte using codebook method.
I was running the sample code here and to see how it works, seems a very great approach. I was trying to segment out a cup. Works fine until the cup gets close to the camera at which point the whole output of the both foreground codebook image and codebook connected component image, both turn completely white.
Why does this happen?
Wajih