Tunes the entire arrangement.
Namespace: Cognex.VisionPro.OCVMaxAssembly: Cognex.VisionPro.OCVMax (in Cognex.VisionPro.OCVMax.dll) Version: 75.0.0.0
Syntax
Events
| Event Type | Reason |
|---|---|
| CogOCVMaxPattern CharacterChanged | Fires when a character is changed. |
| CogOCVMaxPattern LineChanged | Fires when a line is modified. |
| CogOCVMaxPattern ParagraphChanged | Fires when a paragraph is modified. |
| CogOCVMaxPattern TuneProgress | Fires periodically during tuning to report tuning progress and to facilitate optional cancellation of tuning. |
| ICogChangedEvent Changed | Fires when the pattern object is modified. |
Exceptions
| Exception | Condition |
|---|---|
| InvalidOperationException | If an internal error occurs during training. |
| CogSecurityViolationException | If licensing for this operator cannot be confirmed. |
| ObjectDisposedException | If this CogOCVMaxPattern object has already been disposed. |
| CogTimeoutExpiredException | If 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