CogOCVMaxRunParams GetConfidenceThreshold Method (CogOCVMaxParagraphIterator)Cognex VisionPro
Gets the confidence threshold for the specified paragraph.

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

public double GetConfidenceThreshold(
	CogOCVMaxParagraphIterator pPI
)

Parameters

pPI
Type: Cognex.VisionPro.OCVMax CogOCVMaxParagraphIterator
A paragraph iterator that indicates the paragraph of interest.

Return Value

Type: Double
The confidence threshold in the range 0.0 to 1.0.
Exceptions

ExceptionCondition
ObjectDisposedExceptionIf this CogOCVMaxRunParams object has already been disposed.
ArgumentNullExceptionIf the supplied argument is NULL.
Remarks

This threshold is the amount that the score of the highest-scoring character in the current key set must be above the highest-scoring character that has a non-zero confusion score with any character in the key set.

Note that if a potentially confusing character has a higher score than the highest-scoring key set member, then the status result will always be ""Confused"", but the returned key will still be the one from the key set, not the confusing key. Note that only keys that pass the ConfusionThreshold test are considered for this scoring or verification step.

See Also