Interface CombinedDataMatchResult

All Known Implementing Classes:
MrtdCombinedRecognizer.Result, UsdlCombinedRecognizer.Result

public interface CombinedDataMatchResult
Interface that must be implemented by combined recognizers which support data matching feature. .
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns result of the data matching algorithm for scanned parts/sides of the document.
  • Field Details

  • Method Details

    • getDocumentDataMatch

      @NonNull DataMatchState getDocumentDataMatch()
      Returns result of the data matching algorithm for scanned parts/sides of the document. For example if date of expiry is scanned from the front and back side of the document and values do not match, this method will return DataMatchState.Failed. Result will be DataMatchState.Success only if scanned values for all fields that are compared are the same. If data matching has not been performed, result will be DataMatchState.NotPerformed.
      Returns:
      result of the data matching algorithm for scanned parts/sides of the document.