Class MrzConfig
-
- All Implemented Interfaces:
public class MrzConfig
Configuration for scanning machine-readable zones (MRZ) of passports and other IDs
-
-
Field Summary
Fields Modifier and Type Field Description public MrzFieldScanOptions
mrzFieldScanOptions
public MrzMinFieldConfidences
mrzMinFieldConfidences
public Boolean
strictMode
public Boolean
cropAndTransformID
public Integer
minConfidence
public Boolean
faceDetectionEnabled
-
Constructor Summary
Constructors Constructor Description MrzConfig()
-
Method Summary
Modifier and Type Method Description MrzFieldScanOptions
getMrzFieldScanOptions()
The fieldmrzScanOptions configure which text fields shall be captured mandatory, optional or not at all. void
setMrzFieldScanOptions(MrzFieldScanOptions mrzFieldScanOptions)
The fieldmrzScanOptions configure which text fields shall be captured mandatory, optional or not at all. MrzMinFieldConfidences
getMrzMinFieldConfidences()
The minFieldConfidences configure which fields must reach which confidence thresholds in order to be part of the scan result. void
setMrzMinFieldConfidences(MrzMinFieldConfidences mrzMinFieldConfidences)
The minFieldConfidences configure which fields must reach which confidence thresholds in order to be part of the scan result. Boolean
getStrictMode()
The strictMode determines whether or not the MRZ must follow the ICAO standard. void
setStrictMode(Boolean strictMode)
The strictMode determines whether or not the MRZ must follow the ICAO standard. Boolean
getCropAndTransformID()
The cropAndTransformID determines whether or not the image shall be cropped and transformed. void
setCropAndTransformID(Boolean cropAndTransformID)
The cropAndTransformID determines whether or not the image shall be cropped and transformed. Integer
getMinConfidence()
Sets a minimum confidence which has to be reached in order to trigger a scan result. void
setMinConfidence(Integer minConfidence)
Sets a minimum confidence which has to be reached in order to trigger a scan result. Boolean
getFaceDetectionEnabled()
Sets whether the face detection approach is enabled. void
setFaceDetectionEnabled(Boolean faceDetectionEnabled)
Sets whether the face detection approach is enabled. String
toString()
int
hashCode()
boolean
equals(Object other)
-
-
Method Detail
-
getMrzFieldScanOptions
MrzFieldScanOptions getMrzFieldScanOptions()
The fieldmrzScanOptions configure which text fields shall be captured mandatory, optional or not at all.
-
setMrzFieldScanOptions
void setMrzFieldScanOptions(MrzFieldScanOptions mrzFieldScanOptions)
The fieldmrzScanOptions configure which text fields shall be captured mandatory, optional or not at all.
-
getMrzMinFieldConfidences
MrzMinFieldConfidences getMrzMinFieldConfidences()
The minFieldConfidences configure which fields must reach which confidence thresholds in order to be part of the scan result.
-
setMrzMinFieldConfidences
void setMrzMinFieldConfidences(MrzMinFieldConfidences mrzMinFieldConfidences)
The minFieldConfidences configure which fields must reach which confidence thresholds in order to be part of the scan result.
-
getStrictMode
Boolean getStrictMode()
The strictMode determines whether or not the MRZ must follow the ICAO standard. (Required)
-
setStrictMode
void setStrictMode(Boolean strictMode)
The strictMode determines whether or not the MRZ must follow the ICAO standard. (Required)
-
getCropAndTransformID
Boolean getCropAndTransformID()
The cropAndTransformID determines whether or not the image shall be cropped and transformed. (Required)
-
setCropAndTransformID
void setCropAndTransformID(Boolean cropAndTransformID)
The cropAndTransformID determines whether or not the image shall be cropped and transformed. (Required)
-
getMinConfidence
Integer getMinConfidence()
Sets a minimum confidence which has to be reached in order to trigger a scan result.
-
setMinConfidence
void setMinConfidence(Integer minConfidence)
Sets a minimum confidence which has to be reached in order to trigger a scan result.
-
getFaceDetectionEnabled
Boolean getFaceDetectionEnabled()
Sets whether the face detection approach is enabled. Defaults to false.
-
setFaceDetectionEnabled
void setFaceDetectionEnabled(Boolean faceDetectionEnabled)
Sets whether the face detection approach is enabled. Defaults to false.
-
hashCode
int hashCode()
-
-
-
-