AccuracyConfig constructor

const AccuracyConfig({
  1. double detectionThreshold = 0.6,
  2. double intersectionRatioThreshold = 0.9,
  3. double extraHeightFactor = 0.3,
  4. int inputSize = 224,
  5. double landmarkRatio = 0.95,
  6. double frameMargin = 0.05,
  7. double tiltAngleThreshold = 6,
  8. double horizontalCenterTolerance = 0.08,
  9. double earThreshold = 0.25,
  10. double minFaceWidthRatio = 0.18,
  11. double maxFaceWidthRatio = 0.82,
  12. double qualityPassThreshold = 0.8,
  13. double yawLowerThreshold = 0.85,
  14. double yawUpperThreshold = 1.15,
})

Creates accuracy settings for face detection.

Implementation

const AccuracyConfig({
  this.detectionThreshold = 0.6,
  this.intersectionRatioThreshold = 0.9,
  this.extraHeightFactor = 0.3,
  this.inputSize = 224,
  this.landmarkRatio = 0.95,
  this.frameMargin = 0.05,
  this.tiltAngleThreshold = 6,
  this.horizontalCenterTolerance = 0.08,
  this.earThreshold = 0.25,
  this.minFaceWidthRatio = 0.18,
  this.maxFaceWidthRatio = 0.82,
  this.qualityPassThreshold = 0.8,
  this.yawLowerThreshold = 0.85,
  this.yawUpperThreshold = 1.15,
});