of

Create instance with min ratio of the document shortest edge length to image shorter side threshold value 0.43.

Return

Instance.


fun of(minEdgeLengthToImageShorterSideRatioThreshold: Double): SizeTooSmallValidator

Create instance with specified min ratio of the document shortest edge length to image shorter side threshold.

Return

Instance.

Parameters

minEdgeLengthToImageShorterSideRatioThreshold

Value in interval [0.0, 1.0].

Throws

If value is out of the interval.