LEADTOOLS OCR (Leadtools.Forms.Ocr assembly)
LEAD Technologies, Inc

Confidence Property






Gets or sets the confidence number expressing the recognition certainty for the first guess. .NET support WinRT support
Syntax
public int Confidence {get; set;}
'Declaration
 
Public Property Confidence As Integer
'Usage
 
Dim instance As OcrCharacter
Dim value As Integer
 
instance.Confidence = value
 
value = instance.Confidence
public int Confidence {get; set;}
 get_Confidence();
set_Confidence(value);
public:
property int Confidence {
   int get();
   void set (    int value);
}

Property Value

An integer value between 0 (worst) and 100 (best) that indicates the confidence number expressing the recognition certainty of the first guess. (Code).
Remarks

To get the recognized characters of a page, call IOcrPage.GetRecognizedCharacters after IOcrPage.Recognize or IOcrPage.RecognizeText.

To update the recognized characters of a page, call IOcrPage.GetRecognizedCharacters before calling IOcrDocument.Save, or IOcrDocument.SaveAsync, IOcrDocument.SaveXml or or IOcrDocument.SaveXmlAsync.

Note: This property is not supported for Arabic OCR engine so it will always have the value 100.

Example
For an example, refer to IOcrPage.GetRecognizedCharacters.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

OcrCharacter Structure
OcrCharacter Members
IOcrPage.SetRecognizedCharacters
IOcrPage.GetRecognizedCharacters
IOcrPage.Recognize
IOcrPage.IsRecognized
OcrCharacter Structure
IOcrPageCharacters Interface
IOcrZoneCharacters Interface
IOcrPageCollection Interface
IOcrZoneCollection Interface
OcrZone Structure
Programming with the LEADTOOLS .NET OCR
OCR Confidence Reporting

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Confidence requires an OCR module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features