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.
HRESULT get_CharConfidence( int Index, int* Result );
int get_CharConfidence( int Index );
Visual Basic .NET
Property CharConfidence(Index As Integer) As Integer
- [in] This parameter specifies the index of the specified symbol in the recognized text.
- [out, retval] A pointer to int variable that receives the value of this property.
This function has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.