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

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

            wrapped_owner.set_minRepeatability((int)minRepeatability.Value);
        }
        void DoProcess()
        {
            if (!(parameters.Value is OpenCVForUnityPlayMakerActions.SimpleBlobDetector_Params))
            {
                LogError("parameters is not initialized. Add Action \"newSimpleBlobDetector_Params\".");
                return;
            }
            OpenCVForUnity.Features2dModule.SimpleBlobDetector_Params wrapped_parameters = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.SimpleBlobDetector_Params, OpenCVForUnity.Features2dModule.SimpleBlobDetector_Params>(parameters);

            if (!(storeResult.Value is OpenCVForUnityPlayMakerActions.SimpleBlobDetector))
            {
                storeResult.Value = new OpenCVForUnityPlayMakerActions.SimpleBlobDetector();
            }
            ((OpenCVForUnityPlayMakerActions.SimpleBlobDetector)storeResult.Value).wrappedObject = OpenCVForUnity.Features2dModule.SimpleBlobDetector.create(wrapped_parameters);
        }
 public SimpleBlobDetector_Params(OpenCVForUnity.Features2dModule.SimpleBlobDetector_Params nativeObj) : base(nativeObj)
 {
 }