SplitRegionIntoMultipleCharacters
Splits the input region into an array of regions corresponding to individual characters.
Applications:Text segmentation when the number of characters is unknown, usually followed by a RecognizeCharacters filter.
Syntax
C++
C#
Python
def SplitRegionIntoMultipleCharacters( inRegion: Region, /, *, inProjectionSmooth: float = 1.0, inCharacterWidth: int = 15, diagProjection: Profile | None = None ) -> ( outRegions: list[Region], diagClasses: list[Region] )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inRegion | Region | Input region containing characters | ||
![]() |
inProjectionSmooth | float | 0.0 - ![]() |
1.0 | Value of smooth applied to region projection before splitting into separated characters |
![]() |
inCharacterWidth | int | 0 - ![]() |
15 | Single character width |
![]() |
outRegions | list[Region] | Array or regions containing single characters | ||
![]() |
diagClasses | list[Region] | Regions in which characters parts will be connected into a single character region | ||
![]() |
diagProjection | Profile | None | None | Profile of region projection used to distinguish characters |




