Пример #1
0
        //javadoc: createBackgroundSubtractorGMG()
        public static BackgroundSubtractorGMG createBackgroundSubtractorGMG()
        {
#if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS) && !UNITY_EDITOR) || UNITY_5
            BackgroundSubtractorGMG retVal = new BackgroundSubtractorGMG(bgsegm_Bgsegm_createBackgroundSubtractorGMG_11());

            return(retVal);
#else
            return(null);
#endif
        }
Пример #2
0
        //javadoc: createBackgroundSubtractorGMG()
        public static BackgroundSubtractorGMG createBackgroundSubtractorGMG()
        {
#if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            BackgroundSubtractorGMG retVal = BackgroundSubtractorGMG.__fromPtr__(bgsegm_Bgsegm_createBackgroundSubtractorGMG_11());

            return(retVal);
#else
            return(null);
#endif
        }
Пример #3
0
        //
        // C++:  Ptr_BackgroundSubtractorGMG createBackgroundSubtractorGMG(int initializationFrames = 120, double decisionThreshold = 0.8)
        //

        //javadoc: createBackgroundSubtractorGMG(initializationFrames, decisionThreshold)
        public static BackgroundSubtractorGMG createBackgroundSubtractorGMG(int initializationFrames, double decisionThreshold)
        {
#if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS) && !UNITY_EDITOR) || UNITY_5
            BackgroundSubtractorGMG retVal = new BackgroundSubtractorGMG(bgsegm_Bgsegm_createBackgroundSubtractorGMG_10(initializationFrames, decisionThreshold));

            return(retVal);
#else
            return(null);
#endif
        }
Пример #4
0
        //
        // C++:  Ptr_BackgroundSubtractorGMG createBackgroundSubtractorGMG(int initializationFrames = 120, double decisionThreshold = 0.8)
        //

        //javadoc: createBackgroundSubtractorGMG(initializationFrames, decisionThreshold)
        public static BackgroundSubtractorGMG createBackgroundSubtractorGMG(int initializationFrames, double decisionThreshold)
        {
#if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            BackgroundSubtractorGMG retVal = BackgroundSubtractorGMG.__fromPtr__(bgsegm_Bgsegm_createBackgroundSubtractorGMG_10(initializationFrames, decisionThreshold));

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