//javadoc: LBPHFaceRecognizer::create(radius, neighbors, grid_x)
        public static LBPHFaceRecognizer create(int radius, int neighbors, int grid_x)
        {
#if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            LBPHFaceRecognizer retVal = LBPHFaceRecognizer.__fromPtr__(face_LBPHFaceRecognizer_create_12(radius, neighbors, grid_x));

            return(retVal);
#else
            return(null);
#endif
        }
Example #2
0
        //javadoc: createLBPHFaceRecognizer()
        public static LBPHFaceRecognizer createLBPHFaceRecognizer()
        {
#if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS) && !UNITY_EDITOR) || UNITY_5
            LBPHFaceRecognizer retVal = new LBPHFaceRecognizer(face_Face_createLBPHFaceRecognizer_11());

            return(retVal);
#else
            return(null);
#endif
        }
        //javadoc: LBPHFaceRecognizer::create()
        public static LBPHFaceRecognizer create()
        {
#if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            LBPHFaceRecognizer retVal = LBPHFaceRecognizer.__fromPtr__(face_LBPHFaceRecognizer_create_15());

            return(retVal);
#else
            return(null);
#endif
        }
Example #4
0
        //
        // C++:  Ptr_LBPHFaceRecognizer createLBPHFaceRecognizer(int radius = 1, int neighbors = 8, int grid_x = 8, int grid_y = 8, double threshold = DBL_MAX)
        //

        //javadoc: createLBPHFaceRecognizer(radius, neighbors, grid_x, grid_y, threshold)
        public static LBPHFaceRecognizer createLBPHFaceRecognizer(int radius, int neighbors, int grid_x, int grid_y, double threshold)
        {
#if UNITY_PRO_LICENSE || ((UNITY_ANDROID || UNITY_IOS) && !UNITY_EDITOR) || UNITY_5
            LBPHFaceRecognizer retVal = new LBPHFaceRecognizer(face_Face_createLBPHFaceRecognizer_10(radius, neighbors, grid_x, grid_y, threshold));

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