of

Create instance with min edge distance to image shorter side ratio threshold value 0.05.

Return

Instance.


fun of(minEdgeDistanceToImageShorterSideRatioThreshold: Double): FaceOutOfBoundsValidator

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

Return

Instance.

Parameters

minEdgeDistanceToImageShorterSideRatioThreshold

Value in interval [0.0, 1.0].

Throws

If value is out of the interval.