FaceCaptureService constructor
FaceCaptureService({
- required FaceIdentityService faceIdentity,
- FaceDetectorBackend backend = FaceDetectorBackend.mlkit,
- double brightnessMin = 0.12,
- double brightnessMax = 0.92,
- double blurThreshold = 80.0,
- double faceTooFarRatio = 0.015,
- double faceTooCloseRatio = 0.70,
- 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;