LivenessThresholdBlink constructor
Implementation
LivenessThresholdBlink({
this.leftEyeProbability = 0.25,
this.rightEyeProbability = 0.25,
}) : super() {
assert(
leftEyeProbability < 1.0 || leftEyeProbability > 0.0,
"Left Probability has to be between 1.0 and 0.0",
);
assert(
rightEyeProbability < 1.0 || rightEyeProbability > 0.0,
"Right Probability has to be between 1.0 and 0.0",
);
}