Re-train the classifier with the specified parameters and the training
instances saved in the tool. It is okay to call Retrain() repeatedly.
Effects of earlier calls will be cleared by the last call. After the
call, both IsStartTrained() and IsTrained() remain true.
Namespace: Cognex.VisionPro.OCRMax.Implementation.InternalAssembly: Cognex.VisionPro.OCRMax (in Cognex.VisionPro.OCRMax.dll) Version: 91.0.0.0
Syntax
Parameters
Exceptions
| Exception | Condition |
|---|---|
| CogOCRMaxClassifierNotTrainedException | Thrown if if IsTrained()==false. |
| CogOCRMaxClassifierNoSavedDataException | Thrown if if SaveTrainCharacters()==false. |
| ObjectDisposedException | Thrown if the object is disposed. |
| ArgumentNullException | Thrown if params is null. |
Remarks
This does not change the value of SaveTrainCharacters().
This requires that SaveTrainCharacters() be true.
See Also