CogOCRMaxPositionResult ConfidenceScore Property Cognex VisionPro
The confidence score, in the range [0, 1].

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

public double ConfidenceScore { get; }

Property Value

Type: Double
The ConfidenceScore value. The default value is (0).
Remarks

The confidence score is the difference between PrimaryCharacter.Score and ConfusionCharacter.Score. If the calculation results in a value less than (0), the confidence score will be set to (0).

If the highest scoring character does not satisfy the accept threshold, then the confidence score will be set to (0).

If the classifier has only (1) training character, the confidence score will be set to the score and the confusionCharacter will be set to null.

This is set to (0) if ConfusionExplanation is Failure.

See Also