CharConfidence Property of the PlainText Object

This property returns the recognition confidence for the specified character. This is the confidence of the main (selected) recognition variant.

Confidence estimates the probability that a recognition variant is correct. It should not be understood as a general recognition quality measure: the only safe use of confidence is for comparing recognition variants of the same character. The characters extracted from the source PDF file without recognition have confidence set to 100. See also What is the difference between the CharConfidence and the IsSuspicious properties?

To calculate character confidence more accurately, set the IRecognizerParams::ExactConfidenceCalculation property to TRUE.

Syntax

HRESULT get_CharConfidence(
   int  Index,
   int* Result
);
    

Parameters

Index
[in] This parameter specifies the index of the specified symbol in the recognized text.
Result
[out, retval] A pointer to int variable that receives the value of this property.

Return values

This function has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.

See also

PlainText

Working with Properties

7/3/2024 8:50:10 AM

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.