You are here: Start » AVL.NET » Invoke.ExtractText2

Invoke.ExtractText2

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

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void ExtractText2
(
	Avl.Image inImage,
	Avl.Rectangle2D inRoi,
	Avl.CoordinateSystem2D inRoiAlignment,
	Avl.Polarity inPolarity,
	int inCharWidth,
	Optional<int> inStrokeWidth,
	Optional<int> inMinWordGap,
	List<Avl.Region> outCharacters,
	Diagnostic<List<Avl.Region>> diagAlignedCharacters
)

Parameters

Name Type Range Default Description
inImageAvl.ImageAn input image with text.
inRoiAvl.Rectangle2DLocation of the text.
inRoiAlignmentAvl.CoordinateSystem2DAdjusts the region of interest to the position of the inspected object.
inPolarityAvl.PolarityText polarity.
inCharWidthint<5, 200>50Width of a single character in pixels. Default value: 50.
inStrokeWidthAtl.Optional<int><1, 50>Width of the stroke of the letters in pixels. Default value: atl::NIL.
inMinWordGapAtl.Optional<int><1, 200>Width of the smallest gap between letters that is to be treated as a space in pixels. Default value: atl::NIL.
outCharactersSystem.Collections.Generic.List<Avl.Region>Regions representing individual characters aligned to the ROI.
diagAlignedCharactersAvl.Diagnostic<System.Collections.Generic.List<Avl.Region>>Regions representing individual characters aligned to the Image.

See also