of

fun of(): SizeTooSmallValidator

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

Return

Instance.


fun of(minDetectionSizeToImageShorterRatioThreshold: Double): SizeTooSmallValidator

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

Return

Instance.

Parameters

minDetectionSizeToImageShorterRatioThreshold

Value in interval [0.0, 1.0].

Throws

If value is out of the interval.