CogOCRMaxSegmenter CharacterFragmentMaxDistanceToMainLine Property Cognex VisionPro
Get/set a modifier in the range [0, 1] this is the maximum distance a fragment can have outside the main line of characters as percentage of estimated line height in order to be included.

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

public double CharacterFragmentMaxDistanceToMainLine { get; set; }

Property Value

Type: Double
The CharacterFragmentMaxDistanceToMainLine value. The default value is 0.0.
Events

Event TypeReason
ICogChangedEvent Changed

Fires when this property changes.

The following state flag may be affected:

  • SfCharacterFragmentMaxDistanceToMainLine
Remarks

Stage: Fragment

Note that fragments which _overlap_ the mainline by at least CharacterFragmentMainLineMinYOverlapFrac get included regardless of how far their top and bottom edges are from the mainline.

See Also