• Gilles Rochefort's avatar
    Fixed BackgroundSubstractorMOG2 in opencv_video. · 9e53f039
    Gilles Rochefort authored
    The number of gaussians involved in a mixture is supposed
    to be dynamically adjusted. After being increased, the number
    of gaussians can't be reduced anymore.
    
    It seems to be a regression as the legacy code
    located in modules/legacy/src/bgfg_gaussmix.cpp allows to reduce
    such number of gaussians.
    9e53f039
bgfg_gaussmix2.cpp 35.8 KB