You are here: Start » AVL.NET » Function Reference » Computer Vision » Deep Learning » AVL.MergeCharactersIntoLines
Converts a output of DL_ReadCharacters to lines of text.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void MergeCharactersIntoLines ( IList<AvlNet.OcrResult> inCharacters, float inMaxGap, float inMaxShift, float inMargin, int inMinLength, IList<AvlNet.Rectangle2D> outLines, IList<string> outStrings )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() | inCharacters | System.Collections.Generic.IList<AvlNet.OcrResult> | Output of DL_ReadCharacters. | ||
![]() | inMaxGap | float | <0.0f, 1.0f> | 0.25f | Maximum horizontal gap between joint characters' boxes, denoted as % of 'A' char height. Default value: 0.25f. |
![]() | inMaxShift | float | <0.0f, 1.0f> | 0.25f | Maximum vertical misalignment between joint character's boxes, denoted as % of 'A' char height. Default value: 0.25f. |
![]() | inMargin | float | <0.0f, INF> | Additional margin added to result, denoted as % of 'A' char height. | |
![]() | inMinLength | int | <1, INF> | 1 | Minimal number of chars to create line. Default value: 1. |
![]() | outLines | System.Collections.Generic.IList<AvlNet.Rectangle2D> | Minimal Box which cover all selected character boxes. | ||
![]() | outStrings | System.Collections.Generic.IList<string> | Text of merged characters. |


