Gets or sets the threshold for early acceptance of a potential line match as the true instance of the line in the image.
Namespace: Cognex.VisionPro.OCVMaxAssembly: Cognex.VisionPro.OCVMax (in Cognex.VisionPro.OCVMax.dll) Version: 65.1.0.0
Syntax
Property Value
Type: DoubleThe threshold for early acceptance of a potential line match as the true instance of the line in the image.
Events
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires when this property changes. |
Exceptions
| Exception | Condition |
|---|---|
| ObjectDisposedException | If this CogOCVMaxRunParams object has already been disposed. |
| ArgumentOutOfRangeException | If you attempt to set this to a value less than zero or greater than one. |
Remarks
If the percentage of keys in the line that match (that are verified or confused) is above this threshold, no further searching for the line is performed. This speeds up the search process if you know that there will not be spurious characters in the runtime image, for example when you know known that the only text in the image is the string to be verified.
This value must be in the rage 0.0 to 1.0.
See Also