SizeTooLargeValidator

class SizeTooLargeValidator(maxDetectionSizeToImageShorterSideRatioThreshold: Double = DEFAULT_THRESHOLD_MAX_DETECTION_SIZE_TO_IMAGE_SHORTER_SIDE_RATIO) : FingersAutoCaptureFrameParametersValidator

Too large size validation.

Throws

If the value is less than 0.0.

Constructors

Link copied to clipboard
constructor(maxDetectionSizeToImageShorterSideRatioThreshold: Double = DEFAULT_THRESHOLD_MAX_DETECTION_SIZE_TO_IMAGE_SHORTER_SIDE_RATIO)

Properties

Link copied to clipboard
open override val dependencyIdentifiers: Set<String>

Set of validator identifiers which represents a set of dependencies for this validator.

Link copied to clipboard
open override val identifier: String

String identifier of the validator.

Functions

Link copied to clipboard
open override fun validate(fingersAutoCaptureFrameParameters: FingersAutoCaptureFrameParameters): Boolean

Validate auto capture frame parameters.