Mrz Scanner Configuration
data class MrzScannerConfiguration(var frameAccumulationConfiguration: AccumulatedResultsVerifierConfiguration = AccumulatedResultsVerifierConfiguration( ), var enableDetection: Boolean = true, var incompleteResultHandling: MrzIncompleteResultHandling = MrzIncompleteResultHandling.REJECT, var returnCrops: Boolean = false) : Parcelable
Configuration for MRZ scanner.
Constructors
Link copied to clipboard
constructor(frameAccumulationConfiguration: AccumulatedResultsVerifierConfiguration = AccumulatedResultsVerifierConfiguration( ), enableDetection: Boolean = true, incompleteResultHandling: MrzIncompleteResultHandling = MrzIncompleteResultHandling.REJECT, returnCrops: Boolean = false)
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
If true, crops of the detected MRZ and its fields will be returned in the result.