# Revision history [back]

### Has createBackgroundSubtractorMOG been removed?

Hi,

I did the openCV Background Subtraction tutorial, which is described here.

First the complete source code is listed, in which createBackgroundSubtractorMOG is not used. But in the Explanation part it is described.

That's obviously an error, but it didnt take me long to figure it out. Hower now I want to use createBackgroundSubtractorMOG instead of createBackgroundSubtractorMOG2, but it seems that this method has been complitly removed.

Does somybody know if this is true and if it is, why the method has been removed?

PS: I am using opencv 3.0.0

Thanks and Greets

RVQ

### Has createBackgroundSubtractorMOG been removed?

Hi,

I did the openCV Background Subtraction tutorial, which is described here.

First the complete source code is listed, in which createBackgroundSubtractorMOG is not used. But in the Explanation part it is described.

That's obviously an error, but it didnt take me long to figure it out. Hower now I want to use createBackgroundSubtractorMOG instead of createBackgroundSubtractorMOG2, but it seems that this method has been complitly removed.

Does somybody know if this is true and if it is, why the method has been removed?

PS: I am using opencv 3.0.0

Thanks and Greets

RVQ

Edit: I had some errors building opencv_contrib. However I just wanted to try BackgroundSubtractorMOG. So I just copied the .cpp and header files in my Project and builded it again, which worked fine.

### Has createBackgroundSubtractorMOG been removed?

Hi,

I did the openCV Background Subtraction tutorial, which is described here.

First the complete source code is listed, in which createBackgroundSubtractorMOG is not used. But in the Explanation part it is described.

That's obviously an error, but it didnt take me long to figure it out. Hower now I want to use createBackgroundSubtractorMOG instead of createBackgroundSubtractorMOG2, but it seems that this method has been complitly removed.

Does somybody know if this is true and if it is, why the method has been removed?

PS: I am using opencv 3.0.0

Thanks and Greets

RVQ

Edit: [Solved][Note] I had some errors building opencv_contrib. However I just wanted to try BackgroundSubtractorMOG. So I just copied the .cpp and header files in my Project and builded it again, which worked fine.

### Has createBackgroundSubtractorMOG been removed?

Hi,

I did the openCV Background Subtraction tutorial, which is described here.

First the complete source code is listed, in which createBackgroundSubtractorMOG is not used. But in the Explanation part it is described.

That's obviously an error, but it didnt take me long to figure it out. Hower now I want to use createBackgroundSubtractorMOG instead of createBackgroundSubtractorMOG2, but it seems that this method has been complitly removed.

Does somybody know if this is true and if it is, why the method has been removed?

PS: I am using opencv 3.0.0

Thanks and Greets

RVQ

[Solved][Note] [Solved][Note]

I had some errors building opencv_contrib. However I just wanted to try BackgroundSubtractorMOG. So I just copied the .cpp and header files in my Project and builded it again, which worked fine.