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

Invoke.ExtractText2

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

Namespace:Fil
Assembly:FilNet.dll

Syntax

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

Parameters

Name Type Range Default Description
inImageFil.ImageAn input image with text.
inRoiFil.Rectangle2DLocation of the text.
inRoiAlignmentFil.CoordinateSystem2DAdjusts the region of interest to the position of the inspected object.
inPolarityFil.PolarityText polarity.
inCharWidthint<5, 200>50Width of a single character in pixels. Default value: 50.
inStrokeWidthFtl.Optional<int><1, 50>Width of the stroke of the letters in pixels. Default value: ftl::NIL.
inMinWordGapFtl.Optional<int><1, 200>Width of the smallest gap between letters that is to be treated as a space in pixels. Default value: ftl::NIL.
outCharactersSystem.Collections.Generic.List<Fil.Region>Regions representing individual characters aligned to the ROI.
diagAlignedCharactersFil.Diagnostic<System.Collections.Generic.List<Fil.Region>>Regions representing individual characters aligned to the Image.

See also