←Select platform

Confidence Property

Summary

Gets or sets the confidence number expressing the recognition certainty for the first guess.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public int Confidence { get; set; } 
Public Property Confidence As Integer 
public int Confidence {get; set;} 
@property (nonatomic, assign) NSUInteger confidence 
public int getConfidence() 
public void setConfidence(int value) 
             
 <br/>get_Confidence();<br/>set_Confidence(value);<br/>Object.defineProperty('Confidence');  
public: 
property int Confidence { 
   int get(); 
   void set (    int ); 
} 

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.

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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.Ocr Assembly