void DoProcess()
        {
            if (!(owner.Value is OpenCVForUnityPlayMakerActions.VGG))
            {
                LogError("owner is not initialized. Add Action \"newVGG\".");
                return;
            }
            OpenCVForUnity.Xfeatures2dModule.VGG wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.VGG, OpenCVForUnity.Xfeatures2dModule.VGG>(owner);

            wrapped_owner.setUseScaleOrientation(use_scale_orientation.Value);
        }
コード例 #2
0
ファイル: VGG.cs プロジェクト: Raniot/AR_Assignment3
        //javadoc: VGG::create(desc)
        public static VGG create(int desc)
        {
            #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER

            VGG retVal = VGG.__fromPtr__(xfeatures2d_VGG_create_15(desc));

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

            storeResult.Value = wrapped_owner.getScaleFactor();
        }
コード例 #4
0
ファイル: VGG.cs プロジェクト: Raniot/AR_Assignment3
        //
        // C++: static Ptr_VGG cv::xfeatures2d::VGG::create(int desc = VGG::VGG_120, float isigma = 1.4f, bool img_normalize = true, bool use_scale_orientation = true, float scale_factor = 6.25f, bool dsc_normalize = false)
        //
        //javadoc: VGG::create(desc, isigma, img_normalize, use_scale_orientation, scale_factor, dsc_normalize)
        public static VGG create(int desc, float isigma, bool img_normalize, bool use_scale_orientation, float scale_factor, bool dsc_normalize)
        {
            #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER

            VGG retVal = VGG.__fromPtr__(xfeatures2d_VGG_create_10(desc, isigma, img_normalize, use_scale_orientation, scale_factor, dsc_normalize));

            return retVal;
            #else
            return null;
            #endif
        }
コード例 #5
0
ファイル: VGG.cs プロジェクト: Raniot/AR_Assignment3
        //javadoc: VGG::create(desc, isigma, img_normalize)
        public static VGG create(int desc, float isigma, bool img_normalize)
        {
            #if ((UNITY_ANDROID || UNITY_IOS || UNITY_WEBGL) && !UNITY_EDITOR) || UNITY_5 || UNITY_5_3_OR_NEWER

            VGG retVal = VGG.__fromPtr__(xfeatures2d_VGG_create_13(desc, isigma, img_normalize));

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

            wrapped_owner.setUseNormalizeDescriptor(dsc_normalize.Value);
        }
コード例 #7
0
        void DoProcess()
        {
            if (!(owner.Value is OpenCVForUnityPlayMakerActions.VGG))
            {
                LogError("owner is not initialized. Add Action \"newVGG\".");
                return;
            }
            OpenCVForUnity.Xfeatures2dModule.VGG wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.VGG, OpenCVForUnity.Xfeatures2dModule.VGG>(owner);

            storeResult.Value = wrapped_owner.getUseNormalizeImage();

            Fsm.Event(storeResult.Value ? trueEvent : falseEvent);
        }
コード例 #8
0
 public VGG(OpenCVForUnity.Xfeatures2dModule.VGG nativeObj) : base(nativeObj)
 {
 }
コード例 #9
0
ファイル: VGG.cs プロジェクト: Bersaelor/FaceMaskUnity
 public static VGG create()
 {
     return(VGG.__fromPtr__(xfeatures2d_VGG_create_16()));
 }
コード例 #10
0
ファイル: VGG.cs プロジェクト: Bersaelor/FaceMaskUnity
 public static VGG create(int desc)
 {
     return(VGG.__fromPtr__(xfeatures2d_VGG_create_15(desc)));
 }
コード例 #11
0
ファイル: VGG.cs プロジェクト: Bersaelor/FaceMaskUnity
 public static VGG create(int desc, float isigma)
 {
     return(VGG.__fromPtr__(xfeatures2d_VGG_create_14(desc, isigma)));
 }
コード例 #12
0
ファイル: VGG.cs プロジェクト: Bersaelor/FaceMaskUnity
 public static VGG create(int desc, float isigma, bool img_normalize)
 {
     return(VGG.__fromPtr__(xfeatures2d_VGG_create_13(desc, isigma, img_normalize)));
 }
コード例 #13
0
ファイル: VGG.cs プロジェクト: Bersaelor/FaceMaskUnity
 public static VGG create(int desc, float isigma, bool img_normalize, bool use_scale_orientation)
 {
     return(VGG.__fromPtr__(xfeatures2d_VGG_create_12(desc, isigma, img_normalize, use_scale_orientation)));
 }
コード例 #14
0
ファイル: VGG.cs プロジェクト: Bersaelor/FaceMaskUnity
        //
        // C++: static Ptr_VGG cv::xfeatures2d::VGG::create(int desc = VGG::VGG_120, float isigma = 1.4f, bool img_normalize = true, bool use_scale_orientation = true, float scale_factor = 6.25f, bool dsc_normalize = false)
        //

        public static VGG create(int desc, float isigma, bool img_normalize, bool use_scale_orientation, float scale_factor, bool dsc_normalize)
        {
            return(VGG.__fromPtr__(xfeatures2d_VGG_create_10(desc, isigma, img_normalize, use_scale_orientation, scale_factor, dsc_normalize)));
        }