You are here: Start » DLInvoke.DL_LocateText

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
inImageAvl.ImageInput image.
inRoiAtl.Optional<Avl.Rectangle2D>Limits the area where recognized characters are located. Default value: atl::NIL.
inRoiAlignmentAtl.Optional<Avl.CoordinateSystem2D>
inModelIdAvl.LocateTextModelIdIdentifier of a Read Characters model.
inCharHeightintAverage height of characters in pixels. Default value: 35.
inWidthScalefloatScales image width by the given factor. Default value: 1.0f.
inOpenRadiusintAdditional filtering of smaller blobs before merging characters into groups. Default value: 0.
inMinTextAreaintMinimal character area to be considered as a candidate for a text part. Default value: 50.
inMaxTextAreaintMaximal character area to be considered as a candidate for a text part. Default value: 500000.
inMarginintAdditional padding around the found character to be added before merging characters into text. Default value: 4.
outHeatmapAvl.HeatmapRaw heatmap returned by network. It may be useful for more complex analysis.
outTextRegionsSystem.Collections.Generic.List<Avl.Region>Extracted characters regions after filtering.
outResultsSystem.Collections.Generic.List<Avl.LocateTextResult>
outAlignedRoiAtl.Optional<Avl.Rectangle2D>

See also