SizeTooLargeValidator
class SizeTooLargeValidator( maxEdgeLengthToImageShorterSideRatioThreshold: Double = DEFAULT_THRESHOLD_MAX_EDGE_LENGTH_TO_IMAGE_SHORTER_SIDE_RATIO) : PalmAutoCaptureDetectionValidator
Too large size validation.
Parameters
maxEdgeLengthToImageShorterSideRatioThreshold
Maximum ratio of the palm shortest edge length to image shorter side threshold. Value greater than or equal to 0.0
. Default value is 1.0
.
Throws
If the value is less than 0.0
.
Constructors
Link copied to clipboard
fun SizeTooLargeValidator(maxEdgeLengthToImageShorterSideRatioThreshold: Double = DEFAULT_THRESHOLD_MAX_EDGE_LENGTH_TO_IMAGE_SHORTER_SIDE_RATIO)