Assembly: Cognex.VisionPro.OC (in Cognex.VisionPro.OC.dll) Version: 65.1.0.0
Property Value
Type: Double| Event Type | Reason |
|---|---|
| CogOCFont Changed | Fires when the confusion threshold changes. The following state flag may be affected: |
| CogOCFont Changed | Fires when the confusion threshold changes and one or more Confusable(CogOCFontModel, CogOCFontModel) values also changed. The following state flags may be affected: |
| Exception | Condition |
|---|---|
| ArgumentException | The confusion threshold is < 0 or > 1. |
You specify the Confusion(CogOCFontModel, CogOCFontModel) (in the range 0.0 through 1.0) to tell the tool the confusion score above which two characters are to be treated as potentially confusing.
As you decrease the confusion threshold, the OCV tool compares more characters with the expected character. As you increase the confusion threshold, the tool compares fewer characters.
Default Value: 0.5