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
C++
HRESULT get_CharConfidence( int Index, int* Result );
C#
int get_CharConfidence( int Index );
Visual Basic .NET
Property CharConfidence(Index As Integer) As Integer
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
17.09.2024 15:14:41