CogOCRMaxClassifierAlgorithmConstants EnumerationCognex VisionPro 9.7
The algorithm to use for classification

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

public enum CogOCRMaxClassifierAlgorithmConstants
Members

  Member nameValueDescription
Basic1 The basic classification algorithm
BasicWithValidation2

The basic classification algorithm with the classification validation step.

The classification validation step performs some extra calculations to "double check" that the highest scoring candidate is really the correct character. If this validation fails, the character position result is marked Confused, the confidence score is set to 0, and the ConfusionExplanation is set to ClassificationValidationFailure. The result of the validation step does not affect the result score.

Enable Validation when it's important to prevent the tool from accidentally reading the wrong character (similar to increasing the confusion threshold). The tradeoff is that enabling the Validation step may cause some strings that would have been read OK to come back with confused status.

If enabling Validation is causing character confusion on seemingly readable characters, it may help to add some additional character instances (of that character) to the Font.

BasicFast3 BasicFast is a newer more streamlined version of the Basic algorithm. BasicFast is suggested for most applications. BasicFast is typically much faster than Basic, with similar robustness. The older Basic algorithm is maintained for compatibility with older applications. Note that BasicFast does not support Validation (Validation is the additional confusion check that can be enabled with the Basic algorithm).
See Also