示例#1
0
        //javadoc: MACE::load(filename)
        public static MACE load(string filename)
        {
#if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            MACE retVal = MACE.__fromPtr__(face_MACE_load_11(filename));

            return(retVal);
#else
            return(null);
#endif
        }
示例#2
0
        //javadoc: MACE::create()
        public static MACE create()
        {
#if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            MACE retVal = MACE.__fromPtr__(face_MACE_create_11());

            return(retVal);
#else
            return(null);
#endif
        }
示例#3
0
 /**
  * constructor
  * return automatically generated
  */
 public static MACE create()
 {
     return(MACE.__fromPtr__(face_MACE_create_11()));
 }
示例#4
0
 /**
  * constructor
  *     param filename  build a new MACE instance from a pre-serialized FileStorage
  * return automatically generated
  */
 public static MACE load(string filename)
 {
     return(MACE.__fromPtr__(face_MACE_load_11(filename)));
 }
示例#5
0
        //
        // C++: static Ptr_MACE cv::face::MACE::create(int IMGSIZE = 64)
        //

        /**
         * constructor
         *     param IMGSIZE  images will get resized to this (should be an even number)
         * return automatically generated
         */
        public static MACE create(int IMGSIZE)
        {
            return(MACE.__fromPtr__(face_MACE_create_10(IMGSIZE)));
        }