M7HeadTurnDetectionThreshold constructor

M7HeadTurnDetectionThreshold({
  1. double rotationAngle = 45.0,
})

Implementation

M7HeadTurnDetectionThreshold({
  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.",
  );
}