title: python-opencv AttributeError: 'module' object has no attribute 'createBackgroundSubtractorGMG'
body: <p>I am trying to follow the tutorial given in:
  <a href="https://opencv-python-tutroals.readthedocs.org/en/latest/py_tutorials/py_video/py_bg_subtraction/py_bg_subtraction.html" rel="noreferrer">https://opencv-python-tutroals.readthedocs.org/en/latest/py_tutorials/py_video/py_bg_subtraction/py_bg_subtraction.html</a></p>
  
  <p>While trying the third example (BackgroundSubtractorGMG) I get this error:</p>
  
  <pre><code>AttributeError: 'module' object has no attribute 'createBackgroundSubtractorGMG'
  </code></pre>
  
  <p>I got the same error for the earlier examples. But I followed the explanation given in <a href="https://stackoverflow.com/questions/18721552/opencv2-python-createbackgroundsubtractor-module-not-found">this post</a>. some how, the same trick did not work here.</p>
  
  <p>If there is some one who has managed to solve it, please help me out.</p>
  
  <p>Using Python 2.7.3 &amp; opencv 2.4.6.1 on Ubuntu 12.04 </p>