You are here: Start » AVL.NET » Invoke.ExtractText2
Ready-to-use tool for extracting and splitting text elements to single characters.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void ExtractText2 ( Avl.Image inImage, Avl.Rectangle2D inRoi, Avl.CoordinateSystem2D inRoiAlignment, Avl.Polarity inPolarity, int inCharWidth, Optional<int> inStrokeWidth, Optional<int> inMinWordGap, List<Avl.Region> outCharacters, Diagnostic<List<Avl.Region>> diagAlignedCharacters )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | Avl.Image | An input image with text. | ||
![]() | inRoi | Avl.Rectangle2D | Location of the text. | ||
![]() | inRoiAlignment | Avl.CoordinateSystem2D | Adjusts the region of interest to the position of the inspected object. | ||
![]() | inPolarity | Avl.Polarity | Text polarity. | ||
![]() | inCharWidth | int | <5, 200> | 50 | Width of a single character in pixels. Default value: 50. |
![]() | inStrokeWidth | Atl.Optional<int> | <1, 50> | Width of the stroke of the letters in pixels. Default value: atl::NIL. | |
![]() | inMinWordGap | Atl.Optional<int> | <1, 200> | Width of the smallest gap between letters that is to be treated as a space in pixels. Default value: atl::NIL. | |
![]() | outCharacters | System.Collections.Generic.List<Avl.Region> | Regions representing individual characters aligned to the ROI. | ||
![]() | diagAlignedCharacters | Avl.Diagnostic<System.Collections.Generic.List<Avl.Region>> | Regions representing individual characters aligned to the Image. |