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

Invoke.RecognizeCharacters

Classifies input regions into characters. Based on the Multi-Layer Perceptron model.

Namespace:Fil
Assembly:FilNet.dll

Syntax

C++
C#
 
public static void RecognizeCharacters
(
	List<Fil.Region> inCharacterRegions,
	Fil.OcrModel inOcrModel,
	Optional<Fil.Size> inCharacterSize,
	bool inDotPrint,
	Fil.CharacterSortingOrder inCharacterSorting,
	Optional<float> inMinScore,
	Optional<int> inMinSpaceWidth,
	out string outCharacters,
	List<float> outScores,
	List<List<Fil.OcrCandidate>> outCandidates,
	Diagnostic<List<Fil.Image>> diagNormalizedCharacters,
	Diagnostic<List<Fil.Box>> diagCharactersBoxes
)

Parameters

Name Type Range Default Description
inCharacterRegionsSystem.Collections.Generic.List<Fil.Region>Array of character regions to recognize.
inOcrModelFil.OcrModelTrained OcrMlpModel used to recognize characters.
inCharacterSizeFtl.Optional<Fil.Size>Size of single monospaced character if needed. Default value: ftl::NIL.
inDotPrintboolDot-printed characters preprocessing.
inCharacterSortingFil.CharacterSortingOrderLeftToRightSorting order of input characters. Default value: LeftToRight.
inMinScoreFtl.Optional<float><0.0f, 1.0f>Minimal value of accepted result. Otherwise char '*' will be placed. Default value: ftl::NIL.
inMinSpaceWidthFtl.Optional<int><0, INF>Minimal distance between characters where space character will be inserted. Default value: ftl::NIL.
outCharactersstringResult of characters recognition.
outScoresSystem.Collections.Generic.List<float>Classification result score.
outCandidatesSystem.Collections.Generic.List<System.Collections.Generic.List<Fil.OcrCandidate>>Array of a character classification results and their score.
diagNormalizedCharactersFil.Diagnostic<System.Collections.Generic.List<Fil.Image>>Images of normalized characters used in character recognition.
diagCharactersBoxesFil.Diagnostic<System.Collections.Generic.List<Fil.Box>>Bounding boxes of characters.

See also