SizeTooLargeValidator

fun SizeTooLargeValidator(maxDetectionSizeToImageShorterSideRatioThreshold: Double = DEFAULT_THRESHOLD_MAX_DETECTION_SIZE_TO_IMAGE_SHORTER_SIDE_RATIO)

Parameters

maxDetectionSizeToImageShorterSideRatioThreshold

Maximum ratio of the detection size to image shorter side threshold. Value greater than or equal to 0.0. Default value is 0.2.