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); }
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(); }
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) { }