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

            return(retVal);
#else
            return(null);
#endif
        }
コード例 #2
0
        void DoProcess()
        {
            if (!(owner.Value is OpenCVForUnityPlayMakerActions.StandardCollector))
            {
                LogError("owner is not initialized. Add Action \"newStandardCollector\".");
                return;
            }
            OpenCVForUnity.FaceModule.StandardCollector wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.StandardCollector, OpenCVForUnity.FaceModule.StandardCollector>(owner);

            storeResult.Value = wrapped_owner.getMinLabel();
        }
コード例 #3
0
 public StandardCollector(OpenCVForUnity.FaceModule.StandardCollector nativeObj) : base(nativeObj)
 {
 }
コード例 #4
0
 /**
  * Static constructor
  * return automatically generated
  */
 public static StandardCollector create()
 {
     return(StandardCollector.__fromPtr__(face_StandardCollector_create_11()));
 }
コード例 #5
0
        //
        // C++: static Ptr_StandardCollector cv::face::StandardCollector::create(double threshold = DBL_MAX)
        //

        /**
         * Static constructor
         *     param threshold set threshold
         * return automatically generated
         */
        public static StandardCollector create(double threshold)
        {
            return(StandardCollector.__fromPtr__(face_StandardCollector_create_10(threshold)));
        }