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
- paragraphPosition
- Type: System Int32
A zero-based index that specifies the position of the paragraph of interest.
Return Value
Type: DoubleThe confidence threshold in the range 0.0 to 1.0.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | If the paragraphPosition argument is less than zero or greater than or equal to the number of paragraphs described in this CogOCVMaxRunParams object. |
| ObjectDisposedException | If this CogOCVMaxRunParams object has already been disposed. |
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