DocumentAutoCaptureResult

data class DocumentAutoCaptureResult(val image: Image, val document: DocumentDetector.Document?, val travelDocumentType: TravelDocumentType?, val machineReadableZone: MachineReadableZone?, val content: ByteArray)

Result of the UI Document Auto Capture component.

Constructors

Link copied to clipboard
constructor(image: Image, document: DocumentDetector.Document?, travelDocumentType: TravelDocumentType?, machineReadableZone: MachineReadableZone?, content: ByteArray)

Properties

Link copied to clipboard

Binary content for server-side evaluation.

Link copied to clipboard

Detected document in the image. Might be null only if com.innovatrics.dot.document.autocapture.ui.DocumentAutoCaptureFragment.requestCapture was used to get the result.

Link copied to clipboard

Result image.

Link copied to clipboard

Machine Readable Zone. This property is present if MRZ reading is enabled.

Link copied to clipboard

Travel document type according to the ICAO Doc 9303. This property is present if MRZ reading is enabled.