void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.BOWKMeansTrainer)) { LogError("owner is not initialized. Add Action \"newBOWKMeansTrainer\"."); return; } OpenCVForUnity.Features2dModule.BOWKMeansTrainer wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.BOWKMeansTrainer, OpenCVForUnity.Features2dModule.BOWKMeansTrainer>(owner); if (!(storeResult.Value is OpenCVForUnityPlayMakerActions.Mat)) { storeResult.Value = new OpenCVForUnityPlayMakerActions.Mat(); } ((OpenCVForUnityPlayMakerActions.Mat)storeResult.Value).wrappedObject = wrapped_owner.cluster(); }
public BOWKMeansTrainer(OpenCVForUnity.Features2dModule.BOWKMeansTrainer nativeObj) : base(nativeObj) { }