CogOCRMaxPositionResultStatusConstants EnumerationCognex VisionPro 9.8
Conveys information about the state of an Position Result

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

public enum CogOCRMaxPositionResultStatusConstants
Members

  Member nameValueDescription
NotRead1 The Tool identified the position of a character in the image; however, the character at this position could not be "read" by the Classifier. This is usually because the Classifier has not been properly trained from a Font yet.

NotRead position results have their character codes set to Unknown or Space as dictated by the Segmenter.

NotRead is an important state when training the OCRMax Classifier as NotRead position results can be manually labeled with the correct character code and used to build up the Font.

Read2 The OCRMax Tool successfully read the character at this position.
Confused3 The Tool identified a character that scored high enough to be a good read (above the accept threshold), however, a different character scored close enough to the same score (within the confusion threshold) such that the tool isn't confident that it picked the correct character.

Confused = | ScorePrimary - ScoreSecondary | < ConfidenceThreshold

ScorePrimary < ScoreSecondary can only be true when Fielding's ConfusionMetric property is set to AllCharactersInFont.

Confused status may also be returned if an "internal validation check" performed by the Tool has failed. In this case the result's ConfusionExplanation property will be set to ClassificationValidationFailure to notify you that this has occurred

The internal validation step can be disabled by setting the Tool.Classifier.TrainParams.Algorithm property to Basic.

Mismatch4 The tool found a character that does not match the fielding which scored much higher than any characters that do match the fielding. It is likely that a character that does _not_ match the fielding was printed at this position.

Mismatch = ScoreNotMatching - ScoreMatching > ConfidenceThreshold

Mismatch status is only returned if the Fielding's ConfusionMetric property is set to AllCharactersInFont.

Failed5 No characters scored high enough (above the accept threshold) to be considered a good read.
See Also