getConfidence method
Gets the confidence score for the MRZ detected.
return Confidence score for the MRZ detected. throws DocumentException An error has occurred during Document Library execution.
Implementation
double getConfidence() {
Pointer<Float> pConfidence = calloc();
try {
var err = documentSDK.id3DocumentMrzReadingResult_GetConfidence(_pHandle.value, pConfidence);
if (err != DocumentError.success.value) {
throw DocumentException(err);
}
final vConfidence = pConfidence.value;
return vConfidence;
} finally {
calloc.free(pConfidence);
}
}