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