FaceDetectorOptions constructor
FaceDetectorOptions({})
Constructor for FaceDetectorOptions.
The parameter minFaceSize
must be between 0.0 and 1.0, inclusive.
Implementation
FaceDetectorOptions({
this.enableClassification = false,
this.enableLandmarks = false,
this.enableContours = false,
this.enableTracking = false,
this.minFaceSize = 0.1,
this.performanceMode = FaceDetectorMode.fast,
}) : assert(minFaceSize >= 0.0),
assert(minFaceSize <= 1.0);