←Select platform

Confidence Property

Summary
Gets or sets the confidence number expressing the recognition certainty for the first guess.
Syntax
C#
VB
Objective-C
C++
Java
public int Confidence { get; set; } 
Public Property Confidence As Integer 
@property (nonatomic, assign) NSUInteger confidence 
public int getConfidence() 
public void setConfidence(int value) 
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.SaveXml.

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 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Ocr Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.