Class 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 Details

    • MrzFallbackConfiguration

      public MrzFallbackConfiguration(List<String> acceptedCountries, 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 Details

    • getAcceptedCountries

      public List<String> getAcceptedCountries()
      Getter for acceptedCountries field. See constructor documentation for more information about the field.
      Returns:
      acceptedCountries
    • setAcceptedCountries

      public void setAcceptedCountries(List<String> acceptedCountries)
      Setter for acceptedCountries field. See constructor documentation for more information about the field.
      Parameters:
      acceptedCountries - Value to set.
    • getAcceptedMRZTypes

      public List<MrzDocumentType> getAcceptedMRZTypes()
      Getter for acceptedMRZTypes field. See constructor documentation for more information about the field.
      Returns:
      acceptedMRZTypes
    • setAcceptedMRZTypes

      public void setAcceptedMRZTypes(List<MrzDocumentType> acceptedMRZTypes)
      Setter for acceptedMRZTypes field. See constructor documentation for more information about the field.
      Parameters:
      acceptedMRZTypes - Value to set.