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

AVS.ReadText Method

Ready-to-use tool for reading text from images using the OCR technique.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void ReadText
(
	IList<AvlNet.Region> inCharacters,
	AvlNet.OcrModel inOcrModel,
	float inMinScore,
	out string outText,
	IList<NullableRef<string>> outCharacters,
	IList<float> outScores,
	out bool outIsTextValid
)

Parameters

Name Type Range Default Description
inCharactersSystem.Collections.Generic.IList<AvlNet.Region>Character regions.
inOcrModelAvlNet.OcrModelOCR model specific to a particular font.
inMinScorefloat<0.0f, 1.0f>Minimal score of reading a character.
outTextstringRead text.
outCharactersSystem.Collections.Generic.IList<AvlNet.NullableRef<string>>Array of characters. NIL indicates invalid read when inMinScore is set,.
outScoresSystem.Collections.Generic.IList<float>Reading scores for each character.
outIsTextValidboolReturns False if any ad score smaller than inMinScore.

See also