Package io.scanbot.sdk.documentdata
Class MrzFallbackConfiguration
- java.lang.Object
-
- io.scanbot.sdk.documentdata.DocumentDataExtractorConfigurationElement
-
- io.scanbot.sdk.documentdata.MrzFallbackConfiguration
-
public class MrzFallbackConfiguration extends DocumentDataExtractorConfigurationElement
MRZ fallback configuration element. This configuration element does not enable the scanning of any document types by itself. Add to extractor configuration to enable recognizing the MRZ only, specifically for documents that are otherwise not supported. Note that this may enable scanning of documents that were not enabled through the accepted document types.
-
-
Constructor Summary
Constructors Constructor Description MrzFallbackConfiguration()Constructs MrzFallbackConfiguration with default parameters.MrzFallbackConfiguration(java.util.List<java.lang.String> acceptedCountries, java.util.List<MrzDocumentType> acceptedMRZTypes)Constructs MrzFallbackConfiguration with the given params.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.String>getAcceptedCountries()Getter for acceptedCountries field.java.util.List<MrzDocumentType>getAcceptedMRZTypes()Getter for acceptedMRZTypes field.voidsetAcceptedCountries(java.util.List<java.lang.String> acceptedCountries)Setter for acceptedCountries field.voidsetAcceptedMRZTypes(java.util.List<MrzDocumentType> acceptedMRZTypes)Setter for acceptedMRZTypes field.
-
-
-
Constructor Detail
-
MrzFallbackConfiguration
public MrzFallbackConfiguration(java.util.List<java.lang.String> acceptedCountries, java.util.List<MrzDocumentType> acceptedMRZTypes)Constructs MrzFallbackConfiguration with the given params.- Parameters:
acceptedCountries- List of ISO 3166-1 alpha-3 country codes for which the MRZ fallback is enabled. (e.g. "DEU" for Germany).acceptedMRZTypes- List of MRZ document types for which MRZ fallback is enabled.
-
MrzFallbackConfiguration
public MrzFallbackConfiguration()
Constructs MrzFallbackConfiguration with default parameters.
-
-
Method Detail
-
getAcceptedCountries
public java.util.List<java.lang.String> getAcceptedCountries()
Getter for acceptedCountries field. See constructor documentation for more information about the field.- Returns:
- acceptedCountries
-
setAcceptedCountries
public void setAcceptedCountries(java.util.List<java.lang.String> acceptedCountries)
Setter for acceptedCountries field. See constructor documentation for more information about the field.- Parameters:
acceptedCountries- Value to set.
-
getAcceptedMRZTypes
public java.util.List<MrzDocumentType> getAcceptedMRZTypes()
Getter for acceptedMRZTypes field. See constructor documentation for more information about the field.- Returns:
- acceptedMRZTypes
-
setAcceptedMRZTypes
public void setAcceptedMRZTypes(java.util.List<MrzDocumentType> acceptedMRZTypes)
Setter for acceptedMRZTypes field. See constructor documentation for more information about the field.- Parameters:
acceptedMRZTypes- Value to set.
-
-