Size Too Small Validator
class SizeTooSmallValidator(minDetectionSizeToImageShorterSideRatioThreshold: Double = DEFAULT_THRESHOLD_MIN_DETECTION_SIZE_TO_IMAGE_SHORTER_SIDE_RATIO) : FaceAutoCaptureDetectionValidator
Too small size validation.
Parameters
min Detection Size To Image Shorter Side Ratio Threshold
Minimum ratio of the detection size to image shorter side threshold. Value greater than or equal to 0.0
. Default value is 0.16
.
Throws
If the value is less than 0.0
.
Constructors
Link copied to clipboard
fun SizeTooSmallValidator(minDetectionSizeToImageShorterSideRatioThreshold: Double = DEFAULT_THRESHOLD_MIN_DETECTION_SIZE_TO_IMAGE_SHORTER_SIDE_RATIO)