Package-level declarations
Types
Link copied to clipboard
class BrightnessTooHighValidator(threshold: Double = DEFAULT_THRESHOLD) : DocumentAutoCaptureDetectionValidator
Too high brightness validation.
Link copied to clipboard
class BrightnessTooLowValidator(threshold: Double = DEFAULT_THRESHOLD) : DocumentAutoCaptureDetectionValidator
Too low brightness validation.
Link copied to clipboard
interface DocumentAutoCaptureDetectionValidator
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
Document placement validation.
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
class HotspotsScoreTooHighValidator(threshold: Double = DEFAULT_THRESHOLD) : DocumentAutoCaptureDetectionValidator
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
class SharpnessTooLowValidator(threshold: Double = DEFAULT_THRESHOLD) : DocumentAutoCaptureDetectionValidator
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.