Interface MrzFilter

  • All Superinterfaces:
    android.os.Parcelable

    public interface MrzFilter
    extends android.os.Parcelable
    Filter for MRTDs (Machine Readable Travel Documents) that is used to determine which documents will be processed. If document is filtered out by this filter, its data cannot be returned as recognition result.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface android.os.Parcelable

        android.os.Parcelable.ClassLoaderCreator<T extends java.lang.Object>, android.os.Parcelable.Creator<T extends java.lang.Object>
    • Field Summary

      • Fields inherited from interface android.os.Parcelable

        CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean mrzFilter​(MrzResult mrzResult)
      Determines whether document should be processed or it is filtered out.
      • Methods inherited from interface android.os.Parcelable

        describeContents, writeToParcel
    • Method Detail

      • mrzFilter

        @WorkerThread
        boolean mrzFilter​(@NonNull
                          MrzResult mrzResult)
        Determines whether document should be processed or it is filtered out.
        Parameters:
        mrzResult - MrzResult currently being evaluated
        Returns:
        true if the document with the given MRZ should be processed, false if the document should be filtered out.