CogOCRMaxTool Classifier Property Cognex VisionPro
Classification is the second main step in performing OCRMax. Classification takes in a CogOCRMaxChar produced by the segmenter and returns the best matching character, the score of that best matching character, and the confidence of that best matching character. By classifying all of the segmented characters in a line of text, the classifier determines the result string for the whole line. See the OCRMax Theory Guide for more information.

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

public CogOCRMaxClassifier Classifier { get; set; }

Property Value

Type: CogOCRMaxClassifier
The Classifier value. The default value is a default constructed CogOCRMaxClassifier instance.
Events

Event TypeReason
ICogChangedEvent Changed

Fires when this property changes.

The following state flag may be affected:

  • SfClassifier
Exceptions

ExceptionCondition
ArgumentNullException Thrown if Classifier is set to null.
See Also