Пример #1
0
        //javadoc: AgastFeatureDetector::create(threshold, nonmaxSuppression)
        public static AgastFeatureDetector create(int threshold, bool nonmaxSuppression)
        {
#if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            AgastFeatureDetector retVal = AgastFeatureDetector.__fromPtr__(features2d_AgastFeatureDetector_create_11(threshold, nonmaxSuppression));

            return(retVal);
#else
            return(null);
#endif
        }
Пример #2
0
        //javadoc: AgastFeatureDetector::create()
        public static AgastFeatureDetector create()
        {
#if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER
            AgastFeatureDetector retVal = AgastFeatureDetector.__fromPtr__(features2d_AgastFeatureDetector_create_13());

            return(retVal);
#else
            return(null);
#endif
        }
Пример #3
0
        void DoProcess()
        {
            if (!(owner.Value is OpenCVForUnityPlayMakerActions.AgastFeatureDetector))
            {
                LogError("owner is not initialized. Add Action \"newAgastFeatureDetector\".");
                return;
            }
            OpenCVForUnity.Features2dModule.AgastFeatureDetector wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.AgastFeatureDetector, OpenCVForUnity.Features2dModule.AgastFeatureDetector>(owner);

            storeResult.Value = wrapped_owner.getType();
        }
Пример #4
0
        void DoProcess()
        {
            if (!(owner.Value is OpenCVForUnityPlayMakerActions.AgastFeatureDetector))
            {
                LogError("owner is not initialized. Add Action \"newAgastFeatureDetector\".");
                return;
            }
            OpenCVForUnity.Features2dModule.AgastFeatureDetector wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.AgastFeatureDetector, OpenCVForUnity.Features2dModule.AgastFeatureDetector>(owner);

            wrapped_owner.setNonmaxSuppression(f.Value);
        }
Пример #5
0
 public static AgastFeatureDetector create()
 {
     return(AgastFeatureDetector.__fromPtr__(features2d_AgastFeatureDetector_create_13()));
 }
Пример #6
0
 public static AgastFeatureDetector create(int threshold)
 {
     return(AgastFeatureDetector.__fromPtr__(features2d_AgastFeatureDetector_create_12(threshold)));
 }
Пример #7
0
 public static AgastFeatureDetector create(int threshold, bool nonmaxSuppression)
 {
     return(AgastFeatureDetector.__fromPtr__(features2d_AgastFeatureDetector_create_11(threshold, nonmaxSuppression)));
 }
Пример #8
0
 public AgastFeatureDetector(OpenCVForUnity.Features2dModule.AgastFeatureDetector nativeObj) : base(nativeObj)
 {
 }