CogOCRMaxClassifier TrainOnRun Property Cognex VisionPro 9.8 SR1
Controls the classifier's execute behavior when the classifier is not trained.

Namespace: Cognex.VisionPro.OCRMax
Assembly: Cognex.VisionPro.OCRMax (in Cognex.VisionPro.OCRMax.dll) Version: 75.0.0.0
Syntax

public bool TrainOnRun { get; set; }

Property Value

Type: Boolean
The TrainOnRun value. The default value is true.
Events

Event TypeReason
ICogChangedEvent Changed

Fires when this property changes.

The following state flag may be affected:

  • SfTrainOnRun
Remarks

If the classifier is in an untrained state and TrainOnRun = True, Calling Execute() will cause the classifier to train itself from the current Font and TrainParams.

See Also