The minimum gap size, in pixels, that can occur between two characters.
If the gap 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). The gap is measured from the right edge of the
mark rectangle of one character to the left edge of the mark rectangle
of the next character.
Namespace: Cognex.VisionPro.OCRMaxAssembly: Cognex.VisionPro.OCRMax (in Cognex.VisionPro.OCRMax.dll) Version: 93.1.0.0
Syntax
Property Value
Type: Int32The MinIntercharacterGap value. The default value is 1.
Events
| Event Type | Reason |
|---|---|
| ICogChangedEvent Changed | Fires when this property changes. The following state flag may be affected:
|
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | Thrown if set to a value less than 0 or greater than System::Int32::MaxValue |
Remarks
The mark rectangle of a character is a tight bounding box enclosing all of the foreground (e.g. ink) pixels in the character image.
Note that "left" and "right" are relative to the coordinate axis defined by the search region, i.e. right is the positive x direction.
This value is used only if CharacterFragmentMergeMode is SpecifyMinIntercharacterGap or SpecifyGaps.
Stage: Fragment, Group, Analyze
See Also