Ejemplo n.º 1
0
        void DoProcess()
        {
            if (!(owner.Value is OpenCVForUnityPlayMakerActions.ORB))
            {
                LogError("owner is not initialized. Add Action \"newORB\".");
                return;
            }
            OpenCVForUnity.Features2dModule.ORB wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.ORB, OpenCVForUnity.Features2dModule.ORB>(owner);

            wrapped_owner.setPatchSize(patchSize.Value);
        }