Exemple #1
0
        //javadoc: FastFeatureDetector::create(threshold, nonmaxSuppression)
        public static FastFeatureDetector create(int threshold, bool nonmaxSuppression)
        {
#if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            FastFeatureDetector retVal = FastFeatureDetector.__fromPtr__(features2d_FastFeatureDetector_create_11(threshold, nonmaxSuppression));

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

            return(retVal);
#else
            return(null);
#endif
        }
        void DoProcess()
        {
            if (!(owner.Value is OpenCVForUnityPlayMakerActions.FastFeatureDetector))
            {
                LogError("owner is not initialized. Add Action \"newFastFeatureDetector\".");
                return;
            }
            OpenCVForUnity.Features2dModule.FastFeatureDetector wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.FastFeatureDetector, OpenCVForUnity.Features2dModule.FastFeatureDetector>(owner);

            wrapped_owner.setType(type.Value);
        }
Exemple #4
0
        void DoProcess()
        {
            if (!(owner.Value is OpenCVForUnityPlayMakerActions.FastFeatureDetector))
            {
                LogError("owner is not initialized. Add Action \"newFastFeatureDetector\".");
                return;
            }
            OpenCVForUnity.Features2dModule.FastFeatureDetector wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.FastFeatureDetector, OpenCVForUnity.Features2dModule.FastFeatureDetector>(owner);

            storeResult.Value = wrapped_owner.getNonmaxSuppression();

            Fsm.Event(storeResult.Value ? trueEvent : falseEvent);
        }
 public FastFeatureDetector(OpenCVForUnity.Features2dModule.FastFeatureDetector nativeObj) : base(nativeObj)
 {
 }
Exemple #6
0
 public static FastFeatureDetector create()
 {
     return(FastFeatureDetector.__fromPtr__(features2d_FastFeatureDetector_create_13()));
 }
Exemple #7
0
 public static FastFeatureDetector create(int threshold)
 {
     return(FastFeatureDetector.__fromPtr__(features2d_FastFeatureDetector_create_12(threshold)));
 }
Exemple #8
0
 public static FastFeatureDetector create(int threshold, bool nonmaxSuppression)
 {
     return(FastFeatureDetector.__fromPtr__(features2d_FastFeatureDetector_create_11(threshold, nonmaxSuppression)));
 }