From 34a390fbc2b83638397066dbd89013da82f36003 Mon Sep 17 00:00:00 2001 From: berak Date: Sat, 30 Nov 2013 13:35:23 +0100 Subject: [PATCH] CV_WRAP for BackgroundSubtractorMOG2 --- modules/video/include/opencv2/video/background_segm.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/video/include/opencv2/video/background_segm.hpp b/modules/video/include/opencv2/video/background_segm.hpp index 5d298d4753..71dbe55fa2 100644 --- a/modules/video/include/opencv2/video/background_segm.hpp +++ b/modules/video/include/opencv2/video/background_segm.hpp @@ -115,13 +115,13 @@ protected: 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