CogOCVMaxRunParams EarlyAcceptThreshold Property Cognex VisionPro
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.OCVMax
Assembly: Cognex.VisionPro.OCVMax (in Cognex.VisionPro.OCVMax.dll) Version: 65.1.0.0
Syntax

public double EarlyAcceptThreshold { get; set; }

Property Value

Type: Double
The threshold for early acceptance of a potential line match as the true instance of the line in the image.
Events

Exceptions

ExceptionCondition
ObjectDisposedExceptionIf this CogOCVMaxRunParams object has already been disposed.
ArgumentOutOfRangeExceptionIf 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