Package-level declarations

Types

Link copied to clipboard

Too high brightness validation.

Link copied to clipboard

Too low brightness validation.

Link copied to clipboard

Validator of the Document Auto Capture detection data.

Link copied to clipboard
data class DocumentAutoCaptureFrameParameters(val document: DocumentDetector.Document?, val travelDocumentType: TravelDocumentType?, val mrzRecognitionResult: MrzRecognitionResult?)

Image frame parameters of the Document Auto Capture.

Link copied to clipboard
class DocumentNotDetectedValidator(minConfidenceThreshold: Double = DEFAULT_THRESHOLD_MIN_CONFIDENCE) : DocumentAutoCaptureDetectionValidator

Document presence validation.

Link copied to clipboard
class DocumentOutOfBoundsValidator(minCornerDistanceToImageShorterSideRatioThreshold: Double = DEFAULT_THRESHOLD_MIN_CORNER_DISTANCE_TO_IMAGE_SHORTER_SIDE_RATIO) : DocumentAutoCaptureDetectionValidator

Document position validation.

Link copied to clipboard

Too high hotspots score validation.

Link copied to clipboard

Validates if MRZ is present in the sample.

Link copied to clipboard
class MrzNotValidValidator(isMrzPresent: IsMrzPresent = DefaultIsMrzPresent()) : DocumentAutoCaptureDetectionValidator

Validates if MRZ (Machine Readable Zone) is valid only if it's present. If MRZ is not present, validation succeeds.

Link copied to clipboard
data class MrzRecognitionResult(val rawLines: List<String>, val machineReadableZone: MachineReadableZone?)

Result of MRZ recognition.

Link copied to clipboard

Too low sharpness validation.

Link copied to clipboard
class SizeTooSmallValidator(minEdgeLengthToImageShorterSideRatioThreshold: Double = DEFAULT_THRESHOLD_MIN_EDGE_LENGTH_TO_IMAGE_SHORTER_SIDE_RATIO) : DocumentAutoCaptureDetectionValidator

Too small size validation.