コード例 #1
0
        //javadoc: FisherFaceRecognizer::create()
        public static FisherFaceRecognizer create()
        {
#if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            FisherFaceRecognizer retVal = FisherFaceRecognizer.__fromPtr__(face_FisherFaceRecognizer_create_12());

            return(retVal);
#else
            return(null);
#endif
        }
コード例 #2
0
        //javadoc: createFisherFaceRecognizer()
        public static FisherFaceRecognizer createFisherFaceRecognizer()
        {
                        #if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS) && !UNITY_EDITOR) || UNITY_5
            FisherFaceRecognizer retVal = new FisherFaceRecognizer(contrib_FaceRecognizer_createFisherFaceRecognizer_11());

            return(retVal);
                        #else
            return(null);
                        #endif
        }
コード例 #3
0
        //
        // C++: static Ptr_FisherFaceRecognizer cv::face::FisherFaceRecognizer::create(int num_components = 0, double threshold = DBL_MAX)
        //

        //javadoc: FisherFaceRecognizer::create(num_components, threshold)
        public static FisherFaceRecognizer create(int num_components, double threshold)
        {
#if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            FisherFaceRecognizer retVal = FisherFaceRecognizer.__fromPtr__(face_FisherFaceRecognizer_create_10(num_components, threshold));

            return(retVal);
#else
            return(null);
#endif
        }
コード例 #4
0
        //
        // C++:  Ptr_BasicFaceRecognizer createFisherFaceRecognizer(int num_components = 0, double threshold = DBL_MAX)
        //

        //javadoc: createFisherFaceRecognizer(num_components, threshold)
        public static FisherFaceRecognizer createFisherFaceRecognizer(int num_components, double threshold)
        {
                        #if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS) && !UNITY_EDITOR) || UNITY_5
            FisherFaceRecognizer retVal = new FisherFaceRecognizer(contrib_FaceRecognizer_createFisherFaceRecognizer_10(num_components, threshold));

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