getNoFlashReflectionThreshold method
Gets the flash reflexion detection threshold. Above this threshold, the flash reflexion is probably present on the face. Hint: Default value is 70.
return Flash reflexion detection threshold. throws FaceException An error has occurred during Face Library execution.
Implementation
int getNoFlashReflectionThreshold() {
Pointer<Int> pNoFlashReflectionThreshold = calloc();
try {
var err = faceSDK.id3FacePortraitProcessor_GetNoFlashReflectionThreshold(_pHandle.value, pNoFlashReflectionThreshold);
if (err != FaceError.success.value) {
throw FaceException(err);
}
final vNoFlashReflectionThreshold = pNoFlashReflectionThreshold.value;
return vNoFlashReflectionThreshold;
} finally {
calloc.free(pNoFlashReflectionThreshold);
}
}