of

fun of(): FaceOutOfBoundsValidator

Create instance with margin to image shorter side ratio threshold value 0.05.

Return

Instance.


fun of(minEdgeDistanceToImageShorterSideRatioThreshold: Double): FaceOutOfBoundsValidator

Create instance with specified margin 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.