I need explanations on parameters of
createBackgroundSubtractorKNN(int history=500, double dist2Threshold=400.0, bool detectShadows=true)
How do history, dist2Threshold, and detectShadows affect the background substractor ?
Sometimes, the easiest way to understand function's parameters is by playing with them. Here is what I could figure out by reading the documentation and testing out the function :
Hope my explanations make sens and that it's a bit clearer for you now.