DocumentDoesNotFitPlaceholderValidator

fun DocumentDoesNotFitPlaceholderValidator(placeholderNormalizedRectangle: RectangleDouble, maxPenaltyThreshold: Double = DEFAULT_THRESHOLD_MAX_PENALTY)

Parameters

placeholderNormalizedRectangle

Relative to the detection (normalized) rectangle.

maxPenaltyThreshold

Maximum penalty threshold. Value in interval [0.0, 1.0]. Default value is 0.035.

Throws

If value is out of the interval.