コード例 #1
0
        //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
        }
コード例 #2
0
        //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
        }