CogOCRMaxClassifierRunParams AcceptThreshold Property Cognex VisionPro 9.8
The accept threshold.

Namespace: Cognex.VisionPro.OCRMax
Assembly: Cognex.VisionPro.OCRMax (in Cognex.VisionPro.OCRMax.dll) Version: 75.1.0.0
Syntax

public double AcceptThreshold { get; set; }

Property Value

Type: Double
The AcceptThreshold value. The default value is 0.8.
Events

Event TypeReason
ICogChangedEvent Changed

Fires when this property changes.

The following state flag may be affected:

  • SfAcceptThreshold
Exceptions

ExceptionCondition
ArgumentOutOfRangeException Thrown if set to a value less than 0.0 or greater than 1.0
Remarks

The status of a character is set to FAILED if the score does not satisfy the accept threshold.

A Characters score is an indication of the closeness of the match to the training instances.

See Also