You are here: Start » DLInvoke.DL_LocateText
Performs text detection using a pre-trained deep learning model.
Namespace: | Fil |
---|---|
Assembly: | FilNet.DL.Cpu.dll |
Syntax
C++
C#
public static void DL_LocateText ( Fil.Image inImage, Optional<Fil.Rectangle2D> inRoi, Optional<Fil.CoordinateSystem2D> inRoiAlignment, Fil.LocateTextModelId inModelId, int inCharHeight, float inWidthScale, int inOpenRadius, int inMinTextArea, int inMaxTextArea, int inMargin, Fil.Heatmap outHeatmap, List<Fil.Region> outTextRegions, List<Fil.LocateTextResult> outResults, Optional<Fil.Rectangle2D> outAlignedRoi )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | Fil.Image | Input image. | ||
![]() | inRoi | Ftl.Optional<Fil.Rectangle2D> | Limits the area where recognized characters are located. Default value: ftl::NIL. | ||
![]() | inRoiAlignment | Ftl.Optional<Fil.CoordinateSystem2D> | |||
![]() | inModelId | Fil.LocateTextModelId | Identifier of a Read Characters model. | ||
![]() | inCharHeight | int | Average height of characters in pixels. Default value: 35. | ||
![]() | inWidthScale | float | Scales image width by the given factor. Default value: 1.0f. | ||
![]() | inOpenRadius | int | Additional filtering of smaller blobs before merging characters into groups. Default value: 0. | ||
![]() | inMinTextArea | int | Minimal character area to be considered as a candidate for a text part. Default value: 50. | ||
![]() | inMaxTextArea | int | Maximal character area to be considered as a candidate for a text part. Default value: 500000. | ||
![]() | inMargin | int | Additional padding around the found character to be added before merging characters into text. Default value: 4. | ||
![]() | outHeatmap | Fil.Heatmap | Raw heatmap returned by network. It may be useful for more complex analysis. | ||
![]() | outTextRegions | System.Collections.Generic.List<Fil.Region> | Extracted characters regions after filtering. | ||
![]() | outResults | System.Collections.Generic.List<Fil.LocateTextResult> | |||
![]() | outAlignedRoi | Ftl.Optional<Fil.Rectangle2D> |