• Gilles Rochefort's avatar
    Fixed BackgroundSubstractorMOG2 in opencv_video. · 78de7539
    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.
    78de7539
bgfg_gaussmix2.cpp 23.2 KB