CogOCRMaxTuneParams MaxCandidateCount Property Cognex VisionPro
Controls "how hard" OCRMax tuning will try to find valid parameters by setting the maximum number of internal candidates the tune mechanism will evaluate.

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

public int MaxCandidateCount { get; set; }

Property Value

Type: Int32
The MaxCandidateCount value. The default value is 30.
Events

Event TypeReason
ICogChangedEvent Changed

Fires when this property changes.

The following state flag may be affected:

  • SfMaxCandidateCount
Exceptions

ExceptionCondition
ArgumentOutOfRangeException Thrown if set to a value less than or equal to 0
See Also