GdPicture.NET.14
GdPicture14 Namespace / GdPictureOCR Class / GetWordConfidence Method
The unique result identifier of the executed OCR process obtained by the RunOCR method.
The 0-based index of the word within the specified OCR result. It must be a value between 0 and GetWordCount(OCRResultID) - 1.





In This Topic
GetWordConfidence Method (GdPictureOCR)
In This Topic
Returns, the specified word confidence within a specified OCR result.
Syntax
'Declaration
 
Public Function GetWordConfidence( _
   ByVal OCRResultID As String, _
   ByVal WordIdx As Integer _
) As Single
public float GetWordConfidence( 
   string OCRResultID,
   int WordIdx
)
public function GetWordConfidence( 
    OCRResultID: String;
    WordIdx: Integer
): Single; 
public function GetWordConfidence( 
   OCRResultID : String,
   WordIdx : int
) : float;
public: float GetWordConfidence( 
   string* OCRResultID,
   int WordIdx
) 
public:
float GetWordConfidence( 
   String^ OCRResultID,
   int WordIdx
) 

Parameters

OCRResultID
The unique result identifier of the executed OCR process obtained by the RunOCR method.
WordIdx
The 0-based index of the word within the specified OCR result. It must be a value between 0 and GetWordCount(OCRResultID) - 1.

Return Value

The confidence of the specified word in the range [0 - 100].

Please always use the GetStat method to determine if this method has been successful.

Remarks
It is recommend to use the GetStat method to identify the specific reason for the method's failure, if any.
See Also