FaceOutOfBoundsValidator
class FaceOutOfBoundsValidator( minEdgeDistanceToImageShorterSideRatioThreshold: Double = DEFAULT_THRESHOLD_MIN_EDGE_TO_IMAGE_SHORTER_SIDE_RATIO) : FaceAutoCaptureDetectionValidator
Face position validation.
Parameters
minEdgeDistanceToImageShorterSideRatioThreshold
Minimum ratio of the edge distance to image shorter side threshold. Value in interval [0.0, 1.0]
. Default value is 0.05
.
Throws
If value is out of the interval.
Constructors
Link copied to clipboard
fun FaceOutOfBoundsValidator(minEdgeDistanceToImageShorterSideRatioThreshold: Double = DEFAULT_THRESHOLD_MIN_EDGE_TO_IMAGE_SHORTER_SIDE_RATIO)