Skip to content

Commit

Permalink
CV_WRAP for BackgroundSubtractorMOG2
Browse files Browse the repository at this point in the history
  • Loading branch information
berak committed Nov 30, 2013
1 parent 429ab8e commit 34a390f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/video/include/opencv2/video/background_segm.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,13 @@ class CV_EXPORTS_W BackgroundSubtractorMOG : public BackgroundSubtractor
International Conference Pattern Recognition, UK, August, 2004.
http://www.zoranz.net/Publications/zivkovic2004ICPR.pdf
*/
class CV_EXPORTS BackgroundSubtractorMOG2 : public BackgroundSubtractor
class CV_EXPORTS_W BackgroundSubtractorMOG2 : public BackgroundSubtractor
{
public:
//! the default constructor
BackgroundSubtractorMOG2();
CV_WRAP BackgroundSubtractorMOG2();
//! the full constructor that takes the length of the history, the number of gaussian mixtures, the background ratio parameter and the noise strength
BackgroundSubtractorMOG2(int history, float varThreshold, bool bShadowDetection=true);
CV_WRAP BackgroundSubtractorMOG2(int history, float varThreshold, bool bShadowDetection=true);
//! the destructor
virtual ~BackgroundSubtractorMOG2();
//! the update operator
Expand Down

0 comments on commit 34a390f

Please sign in to comment.