QualityGateConfig class

Quality gate configuration — frames must pass these checks before detection.

Constructors

QualityGateConfig({double minBlurScore = 40.0, double minLuminosity = 0.08, double maxLuminosity = 0.92, double minContrastRatio = 0.15, double minCoverageRatio = 0.1, bool enableGlareDetection = true, double maxMotionScore = 80.0})
const

Properties

enableGlareDetection bool
Whether to check for specular glare/reflections.
final
hashCode int
The hash code for this object.
no setterinherited
maxLuminosity double
Maximum luminosity before triggering overexposure warning.
final
maxMotionScore double
Maximum allowed motion score before skipping frame.
final
minBlurScore double
Minimum blur score (Laplacian variance) to proceed with detection.
final
minContrastRatio double
Minimum contrast ratio to proceed with detection.
final
minCoverageRatio double
Minimum document coverage ratio in frame (for document mode).
final
minLuminosity double
Minimum luminosity (0.0–1.0) to proceed without torch recommendation.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited