of

Create instance with min detection to image shorter side ratio threshold value 0.16.

Return

Instance.


fun of(minDetectionSizeToImageShorterSideRatioThreshold: Double): SizeTooSmallValidator

Create instance with specified min detection to image shorter side ratio threshold.

Return

Instance.

Parameters

minDetectionSizeToImageShorterSideRatioThreshold

Value greater than or equal to 0.0.

Throws

If the value is less than 0.0.