Exemple #1
0
        //
        // C++:  Ptr_BackgroundSubtractorMOG createBackgroundSubtractorMOG(int history = 200, int nmixtures = 5, double backgroundRatio = 0.7, double noiseSigma = 0)
        //

        //javadoc: createBackgroundSubtractorMOG(history, nmixtures, backgroundRatio, noiseSigma)
        public static BackgroundSubtractorMOG createBackgroundSubtractorMOG(int history, int nmixtures, double backgroundRatio, double noiseSigma)
        {
#if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS) && !UNITY_EDITOR) || UNITY_5
            BackgroundSubtractorMOG retVal = new BackgroundSubtractorMOG(bgsegm_Bgsegm_createBackgroundSubtractorMOG_10(history, nmixtures, backgroundRatio, noiseSigma));

            return(retVal);
#else
            return(null);
#endif
        }
Exemple #2
0
        //javadoc: createBackgroundSubtractorMOG()
        public static BackgroundSubtractorMOG createBackgroundSubtractorMOG()
        {
#if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS) && !UNITY_EDITOR) || UNITY_5
            BackgroundSubtractorMOG retVal = new BackgroundSubtractorMOG(bgsegm_Bgsegm_createBackgroundSubtractorMOG_11());

            return(retVal);
#else
            return(null);
#endif
        }
Exemple #3
0
        //javadoc: createBackgroundSubtractorMOG()
        public static BackgroundSubtractorMOG createBackgroundSubtractorMOG()
        {
#if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            BackgroundSubtractorMOG retVal = BackgroundSubtractorMOG.__fromPtr__(bgsegm_Bgsegm_createBackgroundSubtractorMOG_11());

            return(retVal);
#else
            return(null);
#endif
        }