AccuracyConfig constructor
const
AccuracyConfig({
- double detectionThreshold = 0.6,
- double intersectionRatioThreshold = 0.9,
- double extraHeightFactor = 0.3,
- int inputSize = 224,
- double landmarkRatio = 0.95,
- double frameMargin = 0.05,
- double tiltAngleThreshold = 6,
- double horizontalCenterTolerance = 0.08,
- double earThreshold = 0.25,
- double minFaceWidthRatio = 0.18,
- double maxFaceWidthRatio = 0.82,
- double qualityPassThreshold = 0.8,
- double yawLowerThreshold = 0.85,
- 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,
});