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

            return(retVal);
#else
            return(null);
#endif
        }
Пример #2
0
        //
        // C++:  Ptr_BasicFaceRecognizer createFisherFaceRecognizer(int num_components = 0, double threshold = DBL_MAX)
        //

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

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