The unique result identifier of the executed OCR process obtained by the RunOCR method.
The 0-based index of the character within the specified OCR result. It must be a value between 0 and GetCharacterCount(OCRResultID) - 1.
The 0-based index of the alternative character. It must be a value between 0 and GetCharacterAlternativeCount(OCRResultID, CharacterIdx) - 1.





In This Topic
GdPicture14 Namespace / GdPictureOCR Class / GetCharacterAlternativeConfidence Method

GetCharacterAlternativeConfidence Method (GdPictureOCR)

In This Topic
Returns the confidence of specific alternative character.
Syntax
'Declaration
 
Public Function GetCharacterAlternativeConfidence( _
   ByVal OCRResultID As String, _
   ByVal CharacterIdx As Integer, _
   ByVal AlternativeIdx As Integer _
) As Single
public float GetCharacterAlternativeConfidence( 
   string OCRResultID,
   int CharacterIdx,
   int AlternativeIdx
)
public function GetCharacterAlternativeConfidence( 
    OCRResultID: String;
    CharacterIdx: Integer;
    AlternativeIdx: Integer
): Single; 
public function GetCharacterAlternativeConfidence( 
   OCRResultID : String,
   CharacterIdx : int,
   AlternativeIdx : int
) : float;
public: float GetCharacterAlternativeConfidence( 
   string* OCRResultID,
   int CharacterIdx,
   int AlternativeIdx
) 
public:
float GetCharacterAlternativeConfidence( 
   String^ OCRResultID,
   int CharacterIdx,
   int AlternativeIdx
) 

Parameters

OCRResultID
The unique result identifier of the executed OCR process obtained by the RunOCR method.
CharacterIdx
The 0-based index of the character within the specified OCR result. It must be a value between 0 and GetCharacterCount(OCRResultID) - 1.
AlternativeIdx
The 0-based index of the alternative character. It must be a value between 0 and GetCharacterAlternativeCount(OCRResultID, CharacterIdx) - 1.

Return Value

The confidence of specific alternative character, in the range [0 - 100].
See Also