You are here: Start » AVL.NET » AVS.ExtractText Method

AVS.ExtractText Method

Ready-to-use tool for extracting and splitting character to single characters.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void ExtractText
(
	AvlNet.Image inImage,
	AvlNet.Rectangle2D inRoi,
	AvlNet.CoordinateSystem2D inRoiAlignment,
	AvlNet.TextSegmentation inSegmentationModel,
	IList<AvlNet.Region> outCharacters,
	AvlNet.Region diagTextRegion,
	IList<AvlNet.Region> diagAlignedCharacters,
	out AvlNet.Rectangle2D diagAlignedRoi
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageAn input image with text.
inRoiAvlNet.Rectangle2DLocation of the text.
inRoiAlignmentAvlNet.CoordinateSystem2DAdjusts the region of interest to the position of the inspected object.
inSegmentationModelAvlNet.TextSegmentationModel used for separating text from background.
outCharactersSystem.Collections.Generic.IList<AvlNet.Region>Split characters aligned to ROI.
diagTextRegionAvlNet.RegionRegion of text after extraction.
diagAlignedCharactersSystem.Collections.Generic.IList<AvlNet.Region>Character regions preserving original image orientation.
diagAlignedRoiAvlNet.Rectangle2DROI rectangle after alignment.

Function Overrides

See also