of
Create instance with max detection to image shorter side ratio threshold value 0.8
.
Return
Instance.
fun of(maxDetectionSizeToImageShorterSideRatioThreshold: Double): SizeTooLargeValidator
Content copied to clipboard
Create instance with specified max detection to image shorter side ratio threshold.
Return
Instance.
Parameters
max Detection Size To Image Shorter Side Ratio Threshold
Value in interval [0.0, 1.0]
.
Throws
If value is out of the interval.