FaceDetector constructor

FaceDetector({
  1. FaceDetectorMode mode = FaceDetectorMode.fast,
  2. double minFaceSize = 0.15,
  3. bool detectLandmark = false,
  4. bool detectContour = false,
  5. bool enableClassification = false,
  6. bool enableTracking = false,
})

Implementation

FaceDetector({
  this.mode = FaceDetectorMode.fast,
  this.minFaceSize = 0.15,
  this.detectLandmark = false,
  this.detectContour = false,
  this.enableClassification = false,
  this.enableTracking = false,
}) : assert(minFaceSize > 0.0 && minFaceSize <= 1.0);