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 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.