CogOCVMaxPattern Tune Method Cognex VisionPro 9.8 SR1
Tunes the entire arrangement.

Namespace: Cognex.VisionPro.OCVMax
Assembly: Cognex.VisionPro.OCVMax (in Cognex.VisionPro.OCVMax.dll) Version: 75.0.0.0
Syntax

public void Tune()
Events

Exceptions

ExceptionCondition
InvalidOperationExceptionIf an internal error occurs during training.
CogSecurityViolationExceptionIf licensing for this operator cannot be confirmed.
ObjectDisposedExceptionIf this CogOCVMaxPattern object has already been disposed.
CogTimeoutExpiredExceptionIf TuneRunParams.TimeoutEnabled is true and the operator does not complete tuning within TuneRunParams.Timeout milliseconds, this exception is generated. Note that this exception will also be generated if tuning is cancelled via the TuneProgress event.
Remarks

This optional step consists of iteratively training, running, and adjusting both the arrangement (trained properties) as well as the run parameters.

See Also