getBinarizationMethod method
Gets the selection of the binarization method internally used in the algorithm.
return Selection of the binarization method internally used in the algorithm. throws DocumentException An error has occurred during Document Library execution.
Implementation
int getBinarizationMethod() {
Pointer<Int> pBinarizationMethod = calloc();
try {
var err = documentSDK.id3DocumentMrzReader_GetBinarizationMethod(_pHandle.value, pBinarizationMethod);
if (err != DocumentError.success.value) {
throw DocumentException(err);
}
final vBinarizationMethod = pBinarizationMethod.value;
return vBinarizationMethod;
} finally {
calloc.free(pBinarizationMethod);
}
}