Mrz Scanner Configuration
data class MrzScannerConfiguration(var frameAccumulationConfiguration: AccumulatedResultsVerifierConfiguration = AccumulatedResultsVerifierConfiguration( ), var enableDetection: Boolean = true, var incompleteResultHandling: MrzIncompleteResultHandling = MrzIncompleteResultHandling.REJECT, var returnCrops: Boolean = false, var processingMode: ProcessingMode = ProcessingMode.AUTO) : Parcelable
Configuration for MRZ scanner.
Constructors
Link copied to clipboard
constructor(frameAccumulationConfiguration: AccumulatedResultsVerifierConfiguration = AccumulatedResultsVerifierConfiguration( ), enableDetection: Boolean = true, incompleteResultHandling: MrzIncompleteResultHandling = MrzIncompleteResultHandling.REJECT, returnCrops: Boolean = false, processingMode: ProcessingMode = ProcessingMode.AUTO)
Properties
Link copied to clipboard
Enable MRZ detection. If disabled, the scanner skips the detection step and assumes that the input image is a crop of the MRZ area.
Link copied to clipboard
Configure the frame accumulation process.
Link copied to clipboard
Defines how to handle incomplete MRZ results (e.g. caused by failed validation).
Link copied to clipboard
Scanners typically can produce better results from a single image if they are allowed to spend a longer time analyzing it.
Link copied to clipboard
If true, crops of the detected MRZ and its fields will be returned in the result.