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

Invoke.RecognizeCharacters

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

Namespace:Avl
Assembly:AvlNet.dll

Syntax

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

Parameters

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

See also