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

Invoke.ReadText

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

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void ReadText
(
	List<Avl.Region> inCharacters,
	Avl.OcrModel inOcrModel,
	float inMinScore,
	out string outText,
	List<Conditional<string>> outCharacters,
	List<float> outScores,
	out bool outIsTextValid
)

Parameters

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

See also