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

            wrapped_owner.set_samplerInitMaxNegNum(samplerInitMaxNegNum.Value);
        }
Exemplo n.º 2
0
        void DoProcess()
        {
            if (!(owner.Value is OpenCVForUnityPlayMakerActions.TrackerMIL_Params))
            {
                LogError("owner is not initialized. Add Action \"newTrackerMIL_Params\".");
                return;
            }
            OpenCVForUnity.VideoModule.TrackerMIL_Params wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.TrackerMIL_Params, OpenCVForUnity.VideoModule.TrackerMIL_Params>(owner);

            storeResult.Value = wrapped_owner.get_samplerSearchWinSize();
        }
Exemplo n.º 3
0
        void DoProcess()
        {
            if (!(parameters.Value is OpenCVForUnityPlayMakerActions.TrackerMIL_Params))
            {
                LogError("parameters is not initialized. Add Action \"newTrackerMIL_Params\".");
                return;
            }
            OpenCVForUnity.VideoModule.TrackerMIL_Params wrapped_parameters = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.TrackerMIL_Params, OpenCVForUnity.VideoModule.TrackerMIL_Params>(parameters);

            if (!(storeResult.Value is OpenCVForUnityPlayMakerActions.TrackerMIL))
            {
                storeResult.Value = new OpenCVForUnityPlayMakerActions.TrackerMIL();
            }
            ((OpenCVForUnityPlayMakerActions.TrackerMIL)storeResult.Value).wrappedObject = OpenCVForUnity.VideoModule.TrackerMIL.create(wrapped_parameters);
        }
 public TrackerMIL_Params(OpenCVForUnity.VideoModule.TrackerMIL_Params nativeObj) : base(nativeObj)
 {
 }