Whether to save all training characters.
Namespace: Cognex.VisionPro.OCRMax.Implementation.InternalAssembly: Cognex.VisionPro.OCRMax (in Cognex.VisionPro.OCRMax.dll) Version: 69.0.0.0
Syntax
Property Value
Type: BooleanThe SaveTrainCharacters value. The default value is true.
Events
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires when this property changes. The following state flag may be affected:
|
Exceptions
| Exception | Condition |
|---|---|
| ObjectDisposedException | Thrown if the object is disposed. |
Remarks
When setting this to false, the setter will immediately discard any saved training characters.
After setting this to false, it is not allowed to call: Retrain(), GetTrainCharacters(), GetTrainCharactersProcessed(), or TrainIncremental() for algorithms needing all characters.
After setting this to false, it is not allowed to serialize the classifier.
See Also