title: parameters of opencv Background Subtractor MOG and MOG2
body: <p>I am unable to understand what the parameters of cv2.BackgroundSubtractorMOG and cv2.BackgroundSubtractorMOG2 stand for.</p>
  
  <p>I've gone through this page of official documentation - <a href="http://docs.opencv.org/2.4/modules/video/doc/motion_analysis_and_object_tracking.html?highlight=backgroundsubtractormog#backgroundsubtractormog-backgroundsubtractormog" rel="nofollow noreferrer">http://docs.opencv.org/2.4/modules/video/doc/motion_analysis_and_object_tracking.html?highlight=backgroundsubtractormog#backgroundsubtractormog-backgroundsubtractormog</a></p>
  
  <p>and also through Stack Overflow Page - <a href="https://stackoverflow.com/questions/10458633/how-to-use-cvbackgroundsubtractormog-in-opencv">How to use cv::BackgroundSubtractorMOG in OpenCV?</a></p>
  
  <p>but I am not able to understand how to manipulate the parameters to get good foreground extraction.</p>
  
  <p>Can somebody please explain me what the parameters of these functions really mean?</p>
  
  <p>P.S. I am using version 2.4.9 of opencv and 2.7.11+ of python.</p>