CogOCRMaxSegmenter MinPitch Property Cognex VisionPro
The minimum pitch, in pixels, that can occur between two characters, where the pitch is computed as specified by the pitch metric. If the pitch between two fragments is smaller than this, then they must be considered to be part of the same character, unless the combined character would be too wide (as specified by CharacterMaxWidth and/or CharacterMinAspect).

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

public int MinPitch { get; set; }

Property Value

Type: Int32
The MinPitch value. The default value is 0.
Events

Event TypeReason
ICogChangedEvent Changed

Fires when this property changes.

The following state flag may be affected:

  • SfMinPitch
Exceptions

ExceptionCondition
ArgumentOutOfRangeException Thrown if set to a value less than 0 or greater than System::Int32::MaxValue
Remarks

This parameter is not used if AnalysisMode is Minimal.

Stage: Analyze

See Also