void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.TextDetectionModel_DB)) { LogError("owner is not initialized. Add Action \"newTextDetectionModel_DB\"."); return; } OpenCVForUnity.DnnModule.TextDetectionModel_DB wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.TextDetectionModel_DB, OpenCVForUnity.DnnModule.TextDetectionModel_DB>(owner); storeResult.Value = (float)wrapped_owner.getUnclipRatio(); }