FaceCaptureService constructor

FaceCaptureService({
  1. required FaceIdentityService faceIdentity,
  2. FaceDetectorBackend backend = FaceDetectorBackend.mlkit,
  3. double brightnessMin = 0.12,
  4. double brightnessMax = 0.92,
  5. double blurThreshold = 80.0,
  6. double faceTooFarRatio = 0.015,
  7. double faceTooCloseRatio = 0.70,
  8. double detectionConfidenceThreshold = 0.5,
})

Implementation

FaceCaptureService({
  required FaceIdentityService faceIdentity,
  this.backend = FaceDetectorBackend.mlkit,
  this.brightnessMin = 0.12,
  this.brightnessMax = 0.92,
  this.blurThreshold = 80.0,
  this.faceTooFarRatio = 0.015,
  this.faceTooCloseRatio = 0.70,
  this.detectionConfidenceThreshold = 0.5,
}) : _faceIdentity = faceIdentity;