'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 GdPictureOCR.RunOCR method.
- WordIdx
- The 0-based index of the word within the specified OCR result. It must be a value between 0 and GdPictureOCR.GetWordCount(OCRResultID) - 1.
Return Value
The confidence of the specified word in the range [0 - 100].
Please always use the GdPictureOCR.GetStat method to determine if this method has been successful.