You are here: Start » AVL.NET » AVL.RecognizeCharacters(AvlNet.Region[], AvlNet.OcrModel, AvlNet.Size?, bool, AvlNet.CharacterSortingOrder, float?, int?, string, float[], AvlNet.OcrCandidate[][])

AVL.RecognizeCharacters(AvlNet.Region[], AvlNet.OcrModel, AvlNet.Size?, bool, AvlNet.CharacterSortingOrder, float?, int?, string, float[], AvlNet.OcrCandidate[][])

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void RecognizeCharacters(
	AvlNet.Region[] inCharacterRegions,
	AvlNet.OcrModel inOcrModel,
	AvlNet.Size? inCharacterSize,
	bool inDotPrint,
	AvlNet.CharacterSortingOrder inCharacterSorting,
	float? inMinScore,
	int? inMinSpaceWidth,
	out string outCharacters,
	out float[] outScores,
	out AvlNet.OcrCandidate[][] outCandidates
)

Parameters

inCharacterRegions
Type: AvlNet.Region
Array of character regions to recognize
inOcrModel
Type: AvlNet.OcrModel
Trained OcrMlpModel used to recognize characters
inCharacterSize
Type: System.Nullable<AvlNet.Size>
Size of single monospaced character if needed, or null.
inDotPrint
Type: System.Boolean
Dot-printed characters preprocessing
inCharacterSorting
Type: AvlNet.CharacterSortingOrder
Sorting order of input characters
inMinScore
Type: System.Nullable<System.Single>
Minimal value of accepted result. Otherwise char '*' will be placed, or null.
inMinSpaceWidth
Type: System.Nullable<System.Int32>
Minimal distance between characters where space character will be inserted, or null.
outCharacters
Type: System.String
Result of characters recognition
outScores
Type: System.Single
Classification result score
outCandidates
Type: AvlNet.OcrCandidate
Array of a character classification results and their score

See also