Start » Filter Reference » Computer Vision » Optical Character Recognition » SplitRegionIntoExactlyNCharacters

SplitRegionIntoExactlyNCharacters


Module: OCR

Splits the input region into a fixed-size array of regions corresponding to individual characters.

Applications

Text segmentation when the number of characters is known, usually followed by a RecognizeCharacters filter.
Name Type Range Description
Input value
inRegion Region Region which contains characters
Input value
inCharacterCount Integer 1 - Character count in provided region
Input value
inCharacterSpacing Integer 0 - Spacing size between characters
Input value
inProjectionSmooth Real 0.0 - Projection smoothing value used to remove noises from character region
Output value
outRegions RegionArray? Output array of regions containing separated characters
Diagnostic input
diagClasses RegionArray Regions that contain location of split characters
Diagnostic input
diagProjection Profile Profile of region projection used to distinguish characters

Examples

Input region.

Result of the filter's usage.

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

List of possible exceptions:

Error type Description
DomainError Value of inCharacterCount is greater than inRegion frame width.
DomainError Value of inCharactersSpacing is greater than single character width.

Complexity Level

This filter is available on Basic Complexity Level.

Filter Group

This filter is member of SplitRegionIntoCharacters filter group.