PalmOutOfBoundsValidator

class PalmOutOfBoundsValidator(minCornerDistanceToImageShorterSideRatioThreshold: Double = DEFAULT_THRESHOLD_MIN_CORNER_DISTANCE_TO_IMAGE_SHORTER_SIDE_RATIO) : PalmAutoCaptureDetectionValidator

Palm position validation.

Parameters

minCornerDistanceToImageShorterSideRatioThreshold

Minimum ratio of the palm point distance to the side threshold. Value in interval [0.0, 1.0]. Default value is 0.03.

Throws

If value is out of the interval.

Constructors

Link copied to clipboard
fun PalmOutOfBoundsValidator(minCornerDistanceToImageShorterSideRatioThreshold: Double = DEFAULT_THRESHOLD_MIN_CORNER_DISTANCE_TO_IMAGE_SHORTER_SIDE_RATIO)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun validate(palmAutoCaptureFrameParameters: PalmAutoCaptureFrameParameters): Boolean

Validate detected palm.

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.