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

AVS.RecognizeCharacters Method

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void RecognizeCharacters
(
	IList<AvlNet.Region> inCharacterRegions,
	AvlNet.OcrModel inOcrModel,
	AvlNet.Size? inCharacterSize,
	bool inDotPrint,
	AvlNet.CharacterSortingOrder inCharacterSorting,
	float? inMinScore,
	int? inMinSpaceWidth,
	out string outCharacters,
	IList<float> outScores,
	IList<List<AvlNet.OcrCandidate>> outCandidates,
	IList<AvlNet.Image> diagNormalizedCharacters,
	IList<AvlNet.Box> diagCharactersBoxes
)

Parameters

Name Type Range Default Description
inCharacterRegionsSystem.Collections.Generic.IList<AvlNet.Region>Array of character regions to recognize.
inOcrModelAvlNet.OcrModelTrained OcrMlpModel used to recognize characters.
inCharacterSizeAvlNet.Size?Size of single monospaced character if needed. Default value: atl::NIL.
inDotPrintboolDot-printed characters preprocessing.
inCharacterSortingAvlNet.CharacterSortingOrderLeftToRightSorting order of input characters. Default value: LeftToRight.
inMinScorefloat?<0.0f, 1.0f>Minimal value of accepted result. Otherwise char '*' will be placed. Default value: atl::NIL.
inMinSpaceWidthint?<0, INF>Minimal distance between characters where space character will be inserted. Default value: atl::NIL.
outCharactersstringResult of characters recognition.
outScoresSystem.Collections.Generic.IList<float>Classification result score.
outCandidatesSystem.Collections.Generic.IList<System.Collections.Generic.List<AvlNet.OcrCandidate>>Array of a character classification results and their score.
diagNormalizedCharactersSystem.Collections.Generic.IList<AvlNet.Image>Images of normalized characters used in character recognition.
diagCharactersBoxesSystem.Collections.Generic.IList<AvlNet.Box>Bounding boxes of characters.

Function Overrides

See also