getConfidenceThreshold method
Gets the confidence threshold, from 0 to 100+. Hint: Default value is 50. Lower threshold can increase number of false detection.
return Confidence threshold, from 0 to 100+. throws DocumentException An error has occurred during Document Library execution.
Implementation
int getConfidenceThreshold() {
Pointer<Int> pConfidenceThreshold = calloc();
try {
var err = documentSDK.id3DocumentDetector_GetConfidenceThreshold(_pHandle.value, pConfidenceThreshold);
if (err != DocumentError.success.value) {
throw DocumentException(err);
}
final vConfidenceThreshold = pConfidenceThreshold.value;
return vConfidenceThreshold;
} finally {
calloc.free(pConfidenceThreshold);
}
}