Package-level declarations

Types

Link copied to clipboard
data class AutoFocusConfiguration(var sensitivityThreshold: Double = 0.02) : DocumentDataExtractorConfigurationElement

Auto-focus configuration. The recognizer will ignore frames that are not focused. This option is enabled by default. This configuration has no effect in SINGLE_SHOT mode.

Link copied to clipboard
data class CompositeFieldValueSemantics(val overallFieldValueSemantics: ValueSemantics, val fieldDetails: List<FieldValueSemantics>)

Report of a logical field value semantics verification. If some logical field, e.g. expiry date is present in multiple places in the document, it can occur that some entries are semantically correct and some are semantically incorrect. This report shows the overall status of the logical field value semantics verification and details for each field that was verified.

Link copied to clipboard
data class ConsistencyVerificationReport(val overallConsistency: ValueConsistency, val fieldDetails: List<FieldConsistencyVerificationReport>)

Report of the document consistency verification. Shows whether information in the fields that correspond to the same logical field is consistent.

Link copied to clipboard
data class DateValidationConfiguration(var minYear: Int = 0, var maxYear: Int = 2999, var fieldTypeName: String) : DocumentDataExtractorConfigurationElement

Date validation configuration. This configuration element does not enable the scanning of any document types by itself. Add to recognizer configuration to require date validation checks for specific document types.

Link copied to clipboard
data class DeAddressParserConfiguration(var documentTypes: List<String>, var binaryFileAddressDatabase: String = "") : DocumentDataExtractorConfigurationElement

German Address Field validation configuration. This configuration does not enable the scanning of any document types by itself. Add to recognizer configuration to require German Address validation checks for specific document types.

Link copied to clipboard
data class DocumentDataExtractionResult(val status: DocumentDataExtractionStatus, val document: GenericDocument?, val documentDetectionResult: DocumentDetectionResult, val croppedImage: ImageRef? = null) : AutoCloseable

Contains the result of running the document data extractor.

Link copied to clipboard

The status of the extraction process. Some values are only applicable in live mode, some only in single-shot mode.

Link copied to clipboard
data class DocumentDataExtractorCommonConfiguration(var acceptedDocumentTypes: List<String> = listOf( "DeIdCardFront", "DeIdCardBack", "DeHealthInsuranceCardFront", "DePassport", "DeResidencePermitFront", "DeResidencePermitBack", "EuropeanHealthInsuranceCard", "EuropeanDriverLicenseFront", "EuropeanDriverLicenseBack" )) : DocumentDataExtractorConfigurationElement

Convenience configuration element for enabling the scanning of multiple document types with a common configuration. Add to extractor configuration to enable the scanning of multiple document types.

Link copied to clipboard
data class DocumentDataExtractorConfiguration(var resultAccumulationConfig: ResultAccumulationConfiguration = ResultAccumulationConfiguration( ), var fieldExcludeList: List<String> = listOf( ), var configurations: List<DocumentDataExtractorConfigurationElement> = listOf( DocumentDataExtractorCommonConfiguration( ) ), var returnCrops: Boolean = false, var documentTrustMode: DocumentTrustMode = DocumentTrustMode.TRUSTED, var processingMode: ProcessingMode = ProcessingMode.AUTO)

Configuration for the document data extractor.

Base class for all document data extraction configuration elements.

Link copied to clipboard

Level of trust in the authenticity of the extracted document.

Link copied to clipboard
data class DocumentVerificationReport(val overallVerificationStatus: DocumentVerificationStatus, val consistencyVerificationReport: ConsistencyVerificationReport, val semanticsVerificationReport: SemanticsVerificationReport, val suspiciousDataVerificationReport: SuspiciousDataVerificationReport, val invalidDataVerificationReport: InvalidDataVerificationReport)

Report of the document verification.

Link copied to clipboard

Overall status of the document verification.

Link copied to clipboard

European Health Insurance Card (EHIC) configuration element. Add to extractor configuration to scan EHICs.

European Health Insurance Card (EHIC) issuing country.

Link copied to clipboard
data class FieldConsistencyVerificationReport(val fieldType: CommonFieldType, val consistency: ValueConsistency, val fieldFullNames: List<String>)

Report of the field consistency verification.

Link copied to clipboard
data class FieldInvalidDataVerificationReport(val fieldFullName: String, val isInvalid: Boolean)

Report which shows whether the data in the field that can be validated is valid.

Link copied to clipboard
data class FieldSuspiciousDataVerificationReport(val fieldFullName: String, val isSuspicious: Boolean)

Report of the suspicious data field verification.

Link copied to clipboard
data class FieldValueSemantics(val fieldFullName: String, val invalidSemantics: Boolean)

Report of the field value semantics verification.

Link copied to clipboard
data class GlareDetectionConfiguration(var glareDetectionThreshold: Double = 0.5) : DocumentDataExtractorConfigurationElement

Glare detection configuration. The recognizer will detect whether fields are obstructed by glare. This feature is enabled by default. This configuration has no effect in SINGLE_SHOT mode.

Link copied to clipboard
data class InvalidDataVerificationReport(val overallIsInvalid: Boolean, val fieldDetails: List<FieldInvalidDataVerificationReport>)

Report of the field validation verification.

Link copied to clipboard
data class MrzFallbackConfiguration(var acceptedCountries: List<String> = listOf( ), var acceptedMRZTypes: List<MrzDocumentType> = listOf( )) : DocumentDataExtractorConfigurationElement

MRZ fallback configuration element. This configuration element does not enable the scanning of any document types by itself. Add to extractor configuration to enable recognizing the MRZ only, specifically for documents that are otherwise not supported. Note that this may enable scanning of documents that were not enabled through the accepted document types.

Link copied to clipboard
data class SemanticsVerificationReport(val overallInvalidSemantics: Boolean, val expiryDateSemantics: CompositeFieldValueSemantics, val issueDateSemantics: CompositeFieldValueSemantics, val birthDateSemantics: CompositeFieldValueSemantics, val issueDateBeforeExpiryDate: ValueSemantics, val birthDateBeforeIssueDate: ValueSemantics, val birthDateBeforeExpiryDate: ValueSemantics)

Report of the document value semantics verification.

Link copied to clipboard
data class SuspiciousDataVerificationReport(val overallSuspiciousData: Boolean, val fieldDetails: List<FieldSuspiciousDataVerificationReport>)

Report of the suspicious data document verification.

Link copied to clipboard

The status of the consistency verification.

Link copied to clipboard

The result of the value semantics verification.