Performs a full Tune of the CogOCRMaxTuneRecords contained in this object.
After calling this function the TuneData will be in the "tuned" state.
When in the tuned state the user can call GetTunedSegmenter(), and GetTunedFont() to extract the tuned OCRMax operators.
Note that performing a full Tune may produce different results than calling the incremental AutoTune() on the same set of CogOCRMaxTuneRecords data.
Assembly: Cognex.VisionPro.OCRMax (in Cognex.VisionPro.OCRMax.dll) Version: 65.1.0.0
Syntax
Parameters
- tuneParams
- Type: Cognex.VisionPro.OCRMax CogOCRMaxTuneParams
A CogOCRMaxTuneParams object which controls the AutoCorrect process.
- segmenter
- Type: Cognex.VisionPro.OCRMax CogOCRMaxSegmenter
The current CogOCRMaxSegmenter to use as a hint or starting point for the AutoCorrect process.
- classifierTrainParams
- Type: Cognex.VisionPro.OCRMax CogOCRMaxClassifierTrainParams
The current CogOCRMaxClassifierTrainParams, this argument is ignored by AutoCorrect.
- classifierRunParams
- Type: Cognex.VisionPro.OCRMax CogOCRMaxClassifierRunParams
The current CogOCRMaxClassifierRunParams, this argument is ignored by AutoCorrect.
Events
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires when this function is called. The following state flag may be affected:
|
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException |
|
| InvalidOperationException |
|
| CogOCRMaxInvalidTuneRecordException |
|
See Also