Convenience functions to call StartTrain() followed by
TrainIncremental(). After the call, IsStartTrained() and IsTrained()
become/remain true. It is okay to call Train() repeatedly. Effects of
earlier calls will be cleared by the last call.
Namespace: Cognex.VisionPro.OCRMax.Implementation.InternalAssembly: Cognex.VisionPro.OCRMax (in Cognex.VisionPro.OCRMax.dll) Version: 75.0.0.0
Syntax
Parameters
- trainParams
- Type: Cognex.VisionPro.OCRMax CogOCRMaxClassifierTrainParams
- trainCharacters
- Type: Cognex.VisionPro.Implementation CogSerializableCollectionBase CogOCRMaxChar
Exceptions
| Exception | Condition |
|---|---|
| CogOCRMaxClassifierParamsException |
Thrown if:
|
| ObjectDisposedException | Thrown if the object is disposed. |
| ArgumentNullException | Thrown if trainParams is null. Thrown if trainCharacters is null. |
Remarks
The algorithms Basic and BasicWithValidation can continue incremental training when SaveTrainCharacters()==false.
See Also