Can someone define the class BackgroundSubtractorMOG2.What does history(argument for the BackgroundSubtractor class mean).Is some technique like code books available using BackgroundSubtractorMOG2 class??
Thanks in advance
I made a new class from scratch and that solved the problem.Use the accumulator and frame subtraction methods to recreate the backgoundSubtractorMOG and i developed my own codebook model.