Brightness Too Low Validator
class BrightnessTooLowValidator(threshold: Double = DEFAULT_THRESHOLD) : DocumentAutoCaptureDetectionValidator
Too low brightness validation.
Parameters
threshold
Value in interval [0.0, 1.0]
. Default value is 0.25
.
Throws
If value is out of the interval.
To use this validator also following validators must be applied:
Constructors
Types
Functions
Link copied to clipboard
open override fun validate(documentAutoCaptureFrameParameters: DocumentAutoCaptureFrameParameters): Boolean
Validate auto capture frame parameters.