LivenessThresholdHead constructor
LivenessThresholdHead({
- double rotationAngle = 45.0,
Implementation
LivenessThresholdHead({
this.rotationAngle = 45.0,
}) : super() {
assert(
rotationAngle > 180.0 || rotationAngle > 0.0,
"To detect the livelyness of the face, it has to be properly visible in the camera. The threshold angle should be more than 0.0 degrees and less than 180 degrees.",
);
}