Inheritance: OpenCVForUnity.StatModel
Esempio n. 1
0
        //
        // C++: static Ptr_NormalBayesClassifier cv::ml::NormalBayesClassifier::create()
        //

        //javadoc: NormalBayesClassifier::create()
        public static NormalBayesClassifier create()
        {
#if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            NormalBayesClassifier retVal = NormalBayesClassifier.__fromPtr__(ml_NormalBayesClassifier_create_10());

            return(retVal);
#else
            return(null);
#endif
        }
Esempio n. 2
0
        //javadoc: NormalBayesClassifier::load(filepath)
        public static NormalBayesClassifier load(string filepath)
        {
#if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            NormalBayesClassifier retVal = NormalBayesClassifier.__fromPtr__(ml_NormalBayesClassifier_load_11(filepath));

            return(retVal);
#else
            return(null);
#endif
        }
Esempio n. 3
0
        //
        // C++: static Ptr_NormalBayesClassifier create()
        //

        //javadoc: NormalBayesClassifier::create()
        public static NormalBayesClassifier create()
        {
#if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS) && !UNITY_EDITOR) || UNITY_5
            NormalBayesClassifier retVal = new NormalBayesClassifier(ml_NormalBayesClassifier_create_10());

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