customizeCheck method
void
customizeCheck({})
Implementation
void customizeCheck({
bool preventScreenRecording = true,
bool checkCaptureProcessIntegrity = true,
bool useFaceApi = true,
bool useAuthenticityCheck = true,
bool useLivenessCheck = true,
bool checkGeometry = false,
bool checkHolo = true,
bool checkED = true,
bool checkBlackAndWhiteCopy = true,
}) {
DocumentReader.instance.functionality.preventScreenRecording =
preventScreenRecording;
DocumentReader.instance.processParams.checkCaptureProcessIntegrity =
checkCaptureProcessIntegrity;
DocumentReader.instance.processParams.useFaceApi = useFaceApi;
DocumentReader.instance.processParams.useAuthenticityCheck =
useAuthenticityCheck;
DocumentReader.instance.processParams.authenticityParams.useLivenessCheck =
useLivenessCheck;
DocumentReader.instance.processParams.strictImageQuality = true;
DocumentReader
.instance
.processParams
.authenticityParams
.livenessParams
.checkGeometry =
checkGeometry;
DocumentReader
.instance
.processParams
.authenticityParams
.livenessParams
.checkHolo =
checkHolo;
DocumentReader
.instance
.processParams
.authenticityParams
.livenessParams
.checkED =
checkED;
DocumentReader
.instance
.processParams
.authenticityParams
.livenessParams
.checkBlackAndWhiteCopy =
checkBlackAndWhiteCopy;
}