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()
When enabling the strictMode, a result is only returned if all the check digits on the scanned document are valid. void
setStrictMode(Boolean strictMode)
When enabling the strictMode, a result is only returned if all the check digits on the scanned document are valid. 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()
When enabling the strictMode, a result is only returned if all the check digits on the scanned document are valid. (Required)
-
setStrictMode
void setStrictMode(Boolean strictMode)
When enabling the strictMode, a result is only returned if all the check digits on the scanned document are valid. (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.
-
setFaceDetectionEnabled
void setFaceDetectionEnabled(Boolean faceDetectionEnabled)
Sets whether the face detection approach is enabled.
-
hashCode
int hashCode()
-
-
-
-