Beispiel #1
0
        void DoProcess()
        {
            if (!(cb.Value is OpenCVForUnityPlayMakerActions.ERFilter_Callback))
            {
                LogError("cb is not initialized. Add Action \"newERFilter_Callback\".");
                return;
            }
            OpenCVForUnity.TextModule.ERFilter_Callback wrapped_cb = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.ERFilter_Callback, OpenCVForUnity.TextModule.ERFilter_Callback>(cb);

            if (!(storeResult.Value is OpenCVForUnityPlayMakerActions.ERFilter))
            {
                storeResult.Value = new OpenCVForUnityPlayMakerActions.ERFilter();
            }
            ((OpenCVForUnityPlayMakerActions.ERFilter)storeResult.Value).wrappedObject = OpenCVForUnity.TextModule.Text.createERFilterNM1(wrapped_cb, thresholdDelta.Value, minArea.Value);
        }
 public ERFilter_Callback(OpenCVForUnity.TextModule.ERFilter_Callback nativeObj) : base(nativeObj)
 {
 }