i am fiddling around with opencv provided background subtractors (MOG, MOG2 and GMG) to find a suitable one for tracking people. I want to use it in closed spaces with variable lighting.
I am not sure about what values to set in any of the given subtractors to slow down the transition of a stationary tracked object (say a person who stands still for a while) into part of the background.
It now takes about 4 seconds between a tracked person stops moving, until the algorithm assumes that he is part of the background and stops considering them as part of the foreground.
Do you know in which way I can prolong this time (in any of the 3 subtractors). I am fiddling with decisionThreshold, and learningRate as my 2 dynamic parameters.