Example #1
0
        void DoProcess()
        {
            if (!(owner.Value is OpenCVForUnityPlayMakerActions.ScanSegment))
            {
                LogError("owner is not initialized. Add Action \"newScanSegment\".");
                return;
            }
            OpenCVForUnity.XimgprocModule.ScanSegment wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.ScanSegment, OpenCVForUnity.XimgprocModule.ScanSegment>(owner);

            storeResult.Value = wrapped_owner.getNumberOfSuperpixels();
        }