Gets the confidence threshold for the specified paragraph.
Namespace: Cognex.VisionPro.OCVMaxAssembly: Cognex.VisionPro.OCVMax (in Cognex.VisionPro.OCVMax.dll) Version: 65.1.0.0
Syntax
Parameters
- pPI
- Type: Cognex.VisionPro.OCVMax CogOCVMaxParagraphIterator
A paragraph iterator that indicates the paragraph of interest.
Return Value
Type: DoubleThe confidence threshold in the range 0.0 to 1.0.
Exceptions
| Exception | Condition |
|---|---|
| ObjectDisposedException | If this CogOCVMaxRunParams object has already been disposed. |
| ArgumentNullException | If 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