How can I tell BackgroundSubtractorMOG2 which pixels will be updated in the background and which pixels should not.
I ran into a problem when an object entered the scene and stopped for a few seconds, the object will be absorbed by the background model.
I wanted to reduce the speed of learning or stop learning around a specific stopped object, but how can I do this? Does BackgroundSubtractorMOG2 support using a mask in its update function?
I am using OpenCV 2.4.1.
Thanks, Alvin.
Alvin then
source share