void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.TextDetectionModel_EAST)) { LogError("owner is not initialized. Add Action \"newTextDetectionModel_EAST\"."); return; } OpenCVForUnity.DnnModule.TextDetectionModel_EAST wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.TextDetectionModel_EAST, OpenCVForUnity.DnnModule.TextDetectionModel_EAST>(owner); storeResult.Value = wrapped_owner.getNMSThreshold(); }
void DoProcess() { if (!(owner.Value is OpenCVForUnityPlayMakerActions.TextDetectionModel_EAST)) { LogError("owner is not initialized. Add Action \"newTextDetectionModel_EAST\"."); return; } OpenCVForUnity.DnnModule.TextDetectionModel_EAST wrapped_owner = OpenCVForUnityPlayMakerActionsUtils.GetWrappedObject <OpenCVForUnityPlayMakerActions.TextDetectionModel_EAST, OpenCVForUnity.DnnModule.TextDetectionModel_EAST>(owner); if (!(storeResult.Value is OpenCVForUnityPlayMakerActions.TextDetectionModel_EAST)) { storeResult.Value = new OpenCVForUnityPlayMakerActions.TextDetectionModel_EAST(); } ((OpenCVForUnityPlayMakerActions.TextDetectionModel_EAST)storeResult.Value).wrappedObject = wrapped_owner.setConfidenceThreshold(confThreshold.Value); }
public TextDetectionModel_EAST(OpenCVForUnity.DnnModule.TextDetectionModel_EAST nativeObj) : base(nativeObj) { }