You are here: Start » DLInvoke.DL_LocateText
Performs text detection using a pre-trained deep learning model.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.DL.Cpu.dll |
Syntax
C++
C#
public static void DL_LocateText ( Avl.Image inImage, Optional<Avl.Rectangle2D> inRoi, Optional<Avl.CoordinateSystem2D> inRoiAlignment, Avl.LocateTextModelId inModelId, int inCharHeight, float inWidthScale, int inOpenRadius, int inMinTextArea, int inMaxTextArea, int inMargin, Avl.Heatmap outHeatmap, List<Avl.Region> outTextRegions, List<Avl.LocateTextResult> outResults, Optional<Avl.Rectangle2D> outAlignedRoi )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inImage | Avl.Image | Input image. | ||
![]() | inRoi | Atl.Optional<Avl.Rectangle2D> | Limits the area where recognized characters are located. Default value: atl::NIL. | ||
![]() | inRoiAlignment | Atl.Optional<Avl.CoordinateSystem2D> | |||
![]() | inModelId | Avl.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 | Avl.Heatmap | Raw heatmap returned by network. It may be useful for more complex analysis. | ||
![]() | outTextRegions | System.Collections.Generic.List<Avl.Region> | Extracted characters regions after filtering. | ||
![]() | outResults | System.Collections.Generic.List<Avl.LocateTextResult> | |||
![]() | outAlignedRoi | Atl.Optional<Avl.Rectangle2D> |