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