void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.TrackerCSRT_Params)) { LogError("owner is not initialized. Add Action \"newTrackerCSRT_Params\"."); return; } OpenCVForUnity.TrackingModule.TrackerCSRT_Params wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.TrackerCSRT_Params, OpenCVForUnity.TrackingModule.TrackerCSRT_Params>(owner); storeResult.Value = wrapped_owner.get_num_hog_channels_used(); }