Back to Adaptive Vision Studio website

You are here: 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
inRegion Region Region which contains characters
inCharacterCount Integer 1 - Character count in provided region
inCharacterSpacing Integer 0 - Spacing size between characters
inProjectionSmooth Real 0.0 - Projection smoothing value used to remove noises from character region
outRegions RegionArray? Output array of regions containing separated characters
diagClasses RegionArray Regions that contain location of split characters
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.